We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e84fb0 commit aca0831Copy full SHA for aca0831
1 file changed
src/executor/helpers/introspected_nodejs/node.sh
@@ -1,13 +1,13 @@
1
#!/usr/bin/env bash
2
-set -eo pipefail
+set -euo pipefail
3
4
# Custom script to replace node and run with V8 flags that make the execution of the
5
# benchmarks more predictable.
6
# Depending on the version of node, some flags may be deprecated.
7
8
# a custom bash function to echo debug messages only if CODSPEED_DEBUG is set to true
9
function echo_debug {
10
- if [ "$CODSPEED_DEBUG" = "true" ]; then
+ if [ "${CODSPEED_DEBUG:-}" = "true" ]; then
11
echo "::debug::" "$@"
12
fi
13
}
0 commit comments