Browse Source

No v in npm version

Bob Mottram 7 years ago
parent
commit
02d7270647
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-utils-nodejs

+ 1
- 1
src/freedombone-utils-nodejs View File

144
     exit 1
144
     exit 1
145
 fi
145
 fi
146
 npm_version=\$(npm -v)
146
 npm_version=\$(npm -v)
147
-if [[ "\$npm_version" != "v${NPM_VERSION}" ]]; then
147
+if [[ "\$npm_version" != "${NPM_VERSION}" ]]; then
148
     echo $"npm version expected to be ${NPM_VERSION} but found \$npm_version"
148
     echo $"npm version expected to be ${NPM_VERSION} but found \$npm_version"
149
     exit 2
149
     exit 2
150
 fi
150
 fi