Skip to content

Commit f3dbfc8

Browse files
committed
chore: updated error consistency
1 parent 0429997 commit f3dbfc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/android/updateAndroidManifest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@
197197
intentFilterData.push(getAppLinkIntentFilterDictionary(alternate))
198198
} else if (linkDomain.indexOf('bnc.lt') !== -1) {
199199
// bnc.lt
200-
if (preferences.androidPrefix == null) {
201-
throw new Error('BRANCH SDK: Missing "android-prefix" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP')
200+
if (preferences.androidPrefix === null) {
201+
throw new Error('BRANCH SDK: Invalid "android-prefix" in <branch-config> in your config.xml. Docs https://goo.gl/GijGKP')
202202
}
203203
intentFilterData.push(getAppLinkIntentFilterDictionary(linkDomain, preferences.androidPrefix))
204204
} else {

0 commit comments

Comments
 (0)