Skip to content

Commit 54e9961

Browse files
committed
No set +x print
1 parent 1642c2e commit 54e9961

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/test.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ fi
3333

3434
pushd $TEST_DIR > /dev/null || exit
3535

36-
set -x
36+
set -x # Print the css-typed command exactly as executed
37+
3738
# shellcheck disable=SC2068
3839
npx css-typed ${options[@]}
39-
set +x
40+
41+
{ set +x; } 2>/dev/null # Turn off command printing, and do not print set +X
4042

4143
# Use `diff` to compare the files.
4244
# Use `-I '//.*'` to ignore the first line (comment) which has generated path and timestamp.

0 commit comments

Comments
 (0)