Skip to content

Commit 9390d45

Browse files
committed
fix: fix stderr & stdout redirect
1 parent 11a2801 commit 9390d45

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/git-browse-ci

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

33
set -e -o pipefail
4-
54
if [[ $1 == "" ]]
65
then
7-
branch=$(git rev-parse --abbrev-ref HEAD 2&> /dev/null)
6+
branch=$(git rev-parse --abbrev-ref HEAD &> /dev/null)
87
remote=$(git config branch."${branch}".remote || echo "origin")
98
else
109
remote=$1

0 commit comments

Comments
 (0)