Skip to content

Commit

Permalink
test: precommit to postcommit
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff committed Mar 7, 2017
1 parent c8e5391 commit cf94144
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"scripts": {
"commitmsg": "validate-commit-msg",
"precommit": "semantic-release pre --verifyRelease='./src/scripts/npm/nodeVersion'",
"postcommit": "semantic-release pre --verifyRelease='./src/scripts/npm/nodeVersion'",
"prerelease": "gulp prod",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/sdk/configXml.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
if (preferences.androidPrefix !== null && !/^[/].[a-zA-Z0-9]{3}$/.test(preferences.androidPrefix)) {
throw new Error('BRANCH SDK: Invalid "android-prefix" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP')
}
if (!(preferences.androidTestMode === 'true' || preferences.androidTestMode === 'false' || preferences.androidTestMode === null)) {
if (!(preferences.androidTestMode === 'true' || preferences.androidTestMode === 'false' || preferences.androidTestMode === null)) {
throw new Error('BRANCH SDK: Invalid "android-testmode" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP')
}
}
Expand Down

0 comments on commit cf94144

Please sign in to comment.