Skip to content

Commit 8c47ba2

Browse files
committed
Preserve current working directory
Fixes #1388.
1 parent 4e6f6bc commit 8c47ba2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/code-server.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env sh
22
# code-server.sh -- Run code-server with the bundled Node binary.
33

4-
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")" || exit 1
4+
dir="$(dirname "$(readlink -f "$0" || realpath "$0")")"
55

6-
./node ./out/node/entry.js "$@"
6+
"$dir/node" "$dir/out/node/entry.js" "$@"

0 commit comments

Comments
 (0)