Skip to content

Commit f061208

Browse files
committed
fix realpath in run_jest.sh
Although 'realpath' with no argument works on MacOS, it failed in the GH Actions workflow which runs on Ubuntu. Use `.` for current directory
1 parent 2f4c678 commit f061208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/run_jest.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
echo "Running JavaScript tests..."
66

7-
ROOT_DIR_ABSOLUTE=$(realpath)
7+
ROOT_DIR_ABSOLUTE=$(realpath .)
88

99
# remove any existing test_js_* directories (from previous runs)
1010
rm -rf $ROOT_DIR_ABSOLUTE/test_js_*

0 commit comments

Comments
 (0)