Skip to content

Commit e11092b

Browse files
author
Nick Hwang
committed
Update git remote grep pattern
1 parent 65f5bff commit e11092b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/difftool

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function rename() {
3131
}
3232

3333
# Add Airbnb git remote
34-
if [[ -z $(git remote -v | grep "$AIRBNB_REMOTE $AIRBNB_GIT (fetch)") ]]; then
34+
if [[ -z $(git remote -v | grep -e "$AIRBNB_REMOTE\s\+$AIRBNB_GIT\s\+(fetch)") ]]; then
3535
git remote add "$AIRBNB_REMOTE" "$AIRBNB_GIT"
3636
fi
3737

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "2.1.0",
44
"description": "HubSpot's version of a mostly reasonable approach to JavaScript",
55
"scripts": {
6-
"update": "./bin/difftool",
6+
"difftool": "./bin/difftool",
77
"cleanup ": "./bin/cleanup",
88
"publish:config": "cd packages/eslint-config-hubspot && npm publish",
99
"publish:all": "npm publish && npm run publish:config"

0 commit comments

Comments
 (0)