Skip to content

Commit

Permalink
[sbt] In prepare skip setting ssh config if ssh key is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed May 19, 2023
1 parent c639fdc commit 8ed024a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project-builder/sbt/prepare-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@ ln -fs $scriptDir/CommunityBuildPlugin.scala $repoDir/project/CommunityBuildPlug
cd $repoDir
git lfs pull || true
## scala-debug adapter
echo "StrictHostKeyChecking no" >> ~/.ssh/config
# Skip if no .ssh key provided
(echo "StrictHostKeyChecking no" >> ~/.ssh/config) || true
(git submodule sync && git submodule update --init --recursive) || true

0 comments on commit 8ed024a

Please sign in to comment.