Skip to content

Commit aca0831

Browse files
committed
ref(node): enable set -u to match go.sh
1 parent 2e84fb0 commit aca0831

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/executor/helpers/introspected_nodejs

src/executor/helpers/introspected_nodejs/node.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/usr/bin/env bash
2-
set -eo pipefail
2+
set -euo pipefail
33

44
# Custom script to replace node and run with V8 flags that make the execution of the
55
# benchmarks more predictable.
66
# Depending on the version of node, some flags may be deprecated.
77

88
# a custom bash function to echo debug messages only if CODSPEED_DEBUG is set to true
99
function echo_debug {
10-
if [ "$CODSPEED_DEBUG" = "true" ]; then
10+
if [ "${CODSPEED_DEBUG:-}" = "true" ]; then
1111
echo "::debug::" "$@"
1212
fi
1313
}

0 commit comments

Comments
 (0)