Skip to content

Commit

Permalink
Enable pipefail
Browse files Browse the repository at this point in the history
Slither is now invoked as part of a series of piped commands. However
the default shell behavior is to mask any error reported if the last
command succeeds. This causes failures in slither to be masked
unintentionally. Enable pipefail to make the pipeline of commands
fail instead, restoring the previous behavior.
  • Loading branch information
elopez committed Feb 18, 2023
1 parent 67b91ad commit cac9c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
set -e -o pipefail

# smoelius: `get` works for non-standard variable names like `INPUT_CORPUS-DIR`.
get() {
Expand Down

0 comments on commit cac9c4f

Please sign in to comment.