Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3a30f05

Browse files
committedSep 9, 2021
Check for submodule.
1 parent 6ae116b commit 3a30f05

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎ci/dev/postinstall.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ set -euo pipefail
33

44
main() {
55
cd "$(dirname "$0")/../.."
6-
git submodule update --init
6+
7+
if [ -z "$(ls -A lib/vscode)" ]; then
8+
git submodule init
9+
else
10+
git submodule update
11+
fi
712

813
source ./ci/lib.sh
914

0 commit comments

Comments
 (0)
Please sign in to comment.