We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8cb017 commit 765a8e1Copy full SHA for 765a8e1
1 file changed
scripts/test-integration.sh
@@ -4,13 +4,12 @@ set -e
4
if [[ "$OSTYPE" == "darwin"* ]]; then
5
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
6
ROOT=$(dirname $(dirname $(realpath "$0")))
7
- VSCODEUSERDATADIR=`mktemp -d -t 'myuserdatadir'`
8
else
9
ROOT=$(dirname $(dirname $(readlink -f $0)))
10
- VSCODEUSERDATADIR=`mktemp -d 2>/dev/null`
11
LINUX_NO_SANDBOX="--no-sandbox" # Electron 6 introduces a chrome-sandbox that requires root to run. This can fail. Disable sandbox via --no-sandbox.
12
fi
13
+VSCODEUSERDATADIR=`mktemp -d 2>/dev/null`
14
cd $ROOT
15
16
# Figure out which Electron to use for running tests
0 commit comments