Skip to content

Commit cf94144

Browse files
committed
test: precommit to postcommit
1 parent c8e5391 commit cf94144

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"scripts": {
3939
"commitmsg": "validate-commit-msg",
40-
"precommit": "semantic-release pre --verifyRelease='./src/scripts/npm/nodeVersion'",
40+
"postcommit": "semantic-release pre --verifyRelease='./src/scripts/npm/nodeVersion'",
4141
"prerelease": "gulp prod",
4242
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
4343
},

src/scripts/sdk/configXml.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
if (preferences.androidPrefix !== null && !/^[/].[a-zA-Z0-9]{3}$/.test(preferences.androidPrefix)) {
137137
throw new Error('BRANCH SDK: Invalid "android-prefix" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP')
138138
}
139-
if (!(preferences.androidTestMode === 'true' || preferences.androidTestMode === 'false' || preferences.androidTestMode === null)) {
139+
if (!(preferences.androidTestMode === 'true' || preferences.androidTestMode === 'false' || preferences.androidTestMode === null)) {
140140
throw new Error('BRANCH SDK: Invalid "android-testmode" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP')
141141
}
142142
}

0 commit comments

Comments
 (0)