Skip to content

Commit bdc7d57

Browse files
committed
fix: Enable -e
This should ensure the shell exits on a failure and the exit code is a non-zero value
1 parent 5905293 commit bdc7d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/lib/cmd/choose.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
# async issues with +u when sourcing
4-
set -Eo pipefail
4+
set -Eeo pipefail
55

66
# ------------------------- start ------------------------ #
77
source "$PROGRAM_LIB_DIR/do.sh"

0 commit comments

Comments
 (0)