We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91cea4f commit b6095e9Copy full SHA for b6095e9
2 files changed
resources/linux/bin/code.sh
@@ -3,8 +3,6 @@
3
# Copyright (c) Microsoft Corporation. All rights reserved.
4
# Licensed under the MIT License. See License.txt in the project root for license information.
5
6
-ARGS=$@
7
-
8
# If root, ensure that --user-data-dir is specified
9
if [ "$(id -u)" = "0" ]; then
10
while test $# -gt 0
@@ -35,5 +33,5 @@ fi
35
33
36
34
ELECTRON="$VSCODE_PATH/@@NAME@@"
37
CLI="$VSCODE_PATH/resources/app/out/cli.js"
38
-ATOM_SHELL_INTERNAL_RUN_AS_NODE=1 "$ELECTRON" "$CLI" $ARGS
+ATOM_SHELL_INTERNAL_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
39
exit $?
scripts/code-cli.sh
@@ -31,7 +31,8 @@ function code() {
31
VSCODE_DEV=1 \
32
ELECTRON_ENABLE_LOGGING=1 \
ELECTRON_ENABLE_STACK_DUMPING=1 \
- "$ELECTRON" "$CLI" . $@
+ echo $@
+ "$ELECTRON" "$CLI" . "$@"
}
code "$@"
0 commit comments