Skip to content

Commit 8c2096f

Browse files
committed
Disable shellcheck expansion error
1 parent 43225a3 commit 8c2096f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/build/build-vscode.sh

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ copy-bin-script() {
1919
sed -i.bak "s/@@APPNAME@@/code-server/g" "$dest"
2020

2121
# Fix Node path on Darwin and Linux.
22+
# We do not want expansion here; this text should make it to the file as-is.
23+
# shellcheck disable=SC2016
2224
sed -i.bak 's/^ROOT=\(.*\)$/VSROOT=\1\nROOT="$(dirname "$(dirname "$VSROOT")")"/g' "$dest"
2325
sed -i.bak 's/ROOT\/out/VSROOT\/out/g' "$dest"
2426

0 commit comments

Comments
 (0)