We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97ce47f commit 6de8aa4Copy full SHA for 6de8aa4
cli/commands/initCommand/initAndroid.ts
@@ -44,7 +44,7 @@ export function modifyMainApplicationKt(mainApplicationContent: string) {
44
}
45
46
function addJsBundleFilePathArgument(mainApplicationContent: string) {
47
- const packageListArgumentPattern = /(packageList\s*=\s*\n\s*PackageList\(this\)[\s\S]+?\},\s*\n)/;
+ const packageListArgumentPattern = /(packageList\s*=\s*\n\s*PackageList\(this\)[\s\S]+?\},?\s*\n)/;
48
49
if (!packageListArgumentPattern.test(mainApplicationContent)) {
50
console.log('log: Could not find packageList argument while updating MainApplication.kt.');
0 commit comments