Skip to content

Commit 11a2801

Browse files
committed
fix(git-browse-ci): set pipefail
1 parent d7565ee commit 11a2801

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/git-browse-ci

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
set -e -o pipefail
4+
35
if [[ $1 == "" ]]
46
then
57
branch=$(git rev-parse --abbrev-ref HEAD 2&> /dev/null)

0 commit comments

Comments
 (0)