@forge/cli
13.3.0-next.12-experimental-4b981ef-experimental-5b8eb3c13.3.0-next.25
out/command-line/controller/build-controller.js~
out/command-line/controller/build-controller.jsModified+1−1
Index: package/out/command-line/controller/build-controller.js
===================================================================
--- package/out/command-line/controller/build-controller.js
+++ package/out/command-line/controller/build-controller.js
@@ -67,9 +67,9 @@
return this.buildService.getBuildsByApp(limit, appId);
}
async verifyPreBuild() {
this.buildView.displayLintRunning();
- const { lintResults } = await this.lintService.run(cli_shared_1.PRODUCTION_ENVIRONMENT_KEY, { fix: false }, this.buildView.getLogger());
+ const { lintResults } = await this.lintService.run(cli_shared_1.PRODUCTION_ENVIRONMENT_KEY, { fix: false, linterMode: 'both' }, this.buildView.getLogger());
const problemCount = this.lintService.problemCount(lintResults);
if (problemCount.errors) {
this.buildView.displayLintErrors(lintResults);
const failures = this.lintService.failedScopes(lintResults);