From c9ba476e71b8c5c14219c963a481fc9e24fbeddf Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Wed, 21 Jun 2017 10:19:31 -0700 Subject: [PATCH] fix shellcheck failure https://github.com/koalaman/shellcheck/wiki/SC2004 --- git-open | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-open b/git-open index 85dcebf..126dfcf 100755 --- a/git-open +++ b/git-open @@ -53,7 +53,7 @@ branch=${2:-$(git symbolic-ref -q --short HEAD)} # Split arguments on '/' IFS='/' pathargs=($urlpath) -if (( $is_issue )); then +if (( is_issue )); then # For issues, take the numbers and preprend 'issues/' providerBranchRef="issues/${branch//[^0-9]/}" else