Skip to content

Commit 8ed024a

Browse files
committed
[sbt] In prepare skip setting ssh config if ssh key is not set
1 parent c639fdc commit 8ed024a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

project-builder/sbt/prepare-project.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,6 @@ ln -fs $scriptDir/CommunityBuildPlugin.scala $repoDir/project/CommunityBuildPlug
7979
cd $repoDir
8080
git lfs pull || true
8181
## scala-debug adapter
82-
echo "StrictHostKeyChecking no" >> ~/.ssh/config
82+
# Skip if no .ssh key provided
83+
(echo "StrictHostKeyChecking no" >> ~/.ssh/config) || true
8384
(git submodule sync && git submodule update --init --recursive) || true

0 commit comments

Comments
 (0)