Unset BROWSER variable to avoid gh/yarn conflict

This commit is contained in:
Rob Watson 2021-10-19 16:36:17 +02:00
parent eab3e75c1f
commit bf6113ce61
3 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
set -e
export GH_NO_UPDATE_NOTIFIER=1
unset BROWSER
# GitHub CLI returns non-zero error code if checks are not complete:
ghoutput=$(gh pr checks || true)

View File

@ -4,6 +4,7 @@
set -e
export GH_NO_UPDATE_NOTIFIER=1
unset BROWSER
if [ "$1" = '-a' ]; then
cmd='gh pr list --limit 100'

View File

@ -3,6 +3,7 @@
# Open or create a GitHub PR in the browser
export GH_NO_UPDATE_NOTIFIER=1
unset BROWSER
currentbranch="$(git bn)"
if [ "$currentbranch" = "staging" ] || [ "$currentbranch" = "master" ]; then