Skip to content

Commit

Permalink
fix(git-browse-ci): set pipefail
Browse files Browse the repository at this point in the history
  • Loading branch information
pbnj committed Mar 21, 2022
1 parent d7565ee commit 11a2801
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/git-browse-ci
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e -o pipefail

if [[ $1 == "" ]]
then
branch=$(git rev-parse --abbrev-ref HEAD 2&> /dev/null)
Expand Down

0 comments on commit 11a2801

Please sign in to comment.