Skip to content

Commit 5845f0f

Browse files
committed
when app.gradle is missing from template, warn the user
1 parent cbf728c commit 5845f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/android-project-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
199199
try {
200200
shell.sed('-i', /__PACKAGE__/, this.$projectData.projectId, userAppGradleFilePath);
201201
} catch(e) {
202-
this.$errors.failWithoutHelp(` Error: ${e}.\nIt's possible you're using an old template. You can try updating it and try again.`);
202+
this.$logger.warn(`\n${e}.\nIt's possible you're using an old template.`);
203203
}
204204
}).future<void>()();
205205
}

0 commit comments

Comments
 (0)