@forge/cli

13.4.1-next.9-experimental-e16d59f13.5.0-next.12
out/command-line/controller/lint-controller.js
~out/command-line/controller/lint-controller.jsModified
+2−2
Index: package/out/command-line/controller/lint-controller.js
===================================================================
--- package/out/command-line/controller/lint-controller.js
+++ package/out/command-line/controller/lint-controller.js
@@ -7,11 +7,11 @@
     constructor(lintService, lintView) {
         this.lintService = lintService;
         this.lintView = lintView;
     }
-    async run(environment, fix) {
+    async run(environment, fix, approveRules) {
         !fix && this.lintView.showBlurb();
-        const runResult = await this.lintService.run(environment, { fix, linterMode: 'both' }, this.lintView.getLogger());
+        const runResult = await this.lintService.run(environment, { fix, approveRules, linterMode: 'both' }, this.lintView.getLogger());
         if (runResult?.fixResults) {
             this.lintView.reportFixResult(runResult.fixResults);
         }
         else {