Unset BROWSER variable to avoid gh/yarn conflict
This commit is contained in:
parent
eab3e75c1f
commit
bf6113ce61
|
@ -5,6 +5,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
export GH_NO_UPDATE_NOTIFIER=1
|
export GH_NO_UPDATE_NOTIFIER=1
|
||||||
|
unset BROWSER
|
||||||
|
|
||||||
# GitHub CLI returns non-zero error code if checks are not complete:
|
# GitHub CLI returns non-zero error code if checks are not complete:
|
||||||
ghoutput=$(gh pr checks || true)
|
ghoutput=$(gh pr checks || true)
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
export GH_NO_UPDATE_NOTIFIER=1
|
export GH_NO_UPDATE_NOTIFIER=1
|
||||||
|
unset BROWSER
|
||||||
|
|
||||||
if [ "$1" = '-a' ]; then
|
if [ "$1" = '-a' ]; then
|
||||||
cmd='gh pr list --limit 100'
|
cmd='gh pr list --limit 100'
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
# Open or create a GitHub PR in the browser
|
# Open or create a GitHub PR in the browser
|
||||||
|
|
||||||
export GH_NO_UPDATE_NOTIFIER=1
|
export GH_NO_UPDATE_NOTIFIER=1
|
||||||
|
unset BROWSER
|
||||||
|
|
||||||
currentbranch="$(git bn)"
|
currentbranch="$(git bn)"
|
||||||
if [ "$currentbranch" = "staging" ] || [ "$currentbranch" = "master" ]; then
|
if [ "$currentbranch" = "staging" ] || [ "$currentbranch" = "master" ]; then
|
||||||
|
|
Loading…
Reference in New Issue