Skip to content
This repository was archived by the owner on Apr 26, 2019. It is now read-only.

Commit feda3ba

Browse files
committed
fix deploy.sh syntax error
1 parent a443ea4 commit feda3ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ PKG_NAME=`node -e "console.log(require('./package.json').name);"`
55
PKG_VER=`node -e "console.log(require('./package.json').version);"`
66
NPM_VER=`npm show $PKG_NAME version`
77
CHECK_REG=$(curl https://registry.npmjs.com/$PKG_NAME)
8-
NOT_FOUND=$(node -e "console.log(Object.keys(JSON.parse(JSON.stringify($CHECK_REG))).length")
8+
NOT_FOUND=$(node -e "console.log(Object.keys(JSON.parse(JSON.stringify($CHECK_REG))).length)")
99

1010
echo "$PKG_NAME : version = $PKG_VER, npm version = $NPM_VER"
11-
if [[ $TRAVIS_BRANCH == "master" ]]; then
11+
if [[ $TRAVIS_BRANCH == "master" ]]; then
1212
echo "Build targetting master - checking if this is a PR or not"
1313
if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then
1414
echo "This is a build on master, performing additional steps"

0 commit comments

Comments
 (0)