Skip to content

Commit 038d788

Browse files
committed
chore: disabled option on beta
1 parent 21ef87a commit 038d788

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"request": "launch",
1111
"type": "node-terminal",
1212
"env": {
13-
"IS_NEW_SCAN_ENABLED": "false"
13+
"IS_NEW_SCAN_ENABLED": "true"
1414
}
1515
},
1616
{

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"cosmiconfig": "^9.0.0",
1111
"fs-extra": "^11.3.0",
1212
"glob": "^11.0.2",
13-
"lightning-flow-scanner-core": "4.43.0"
13+
"lightning-flow-scanner-core": "4.44.0"
1414
},
1515
"devDependencies": {
1616
"@oclif/plugin-help": "6.2.28",

src/commands/flow/scan.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export default class Scan extends SfCommand<Output> {
114114
};
115115

116116
const [scanResults, error] = tryScan();
117+
this.debug(`use new scan? ${process.env.IS_NEW_SCAN_ENABLED}`);
117118
this.debug(`error:`, inspect(error));
118119
this.debug(`scan results: ${scanResults.length}`, ...scanResults);
119120
this.spinner.stop(`Scan complete`);
@@ -147,6 +148,8 @@ export default class Scan extends SfCommand<Output> {
147148
data: resultsByFlow[resultKey],
148149
columns: ["rule", "type", "name", "severity"],
149150
});
151+
this.debug(`Results By Flow:
152+
${inspect(resultsByFlow[resultKey])}`);
150153
this.log("");
151154
}
152155
}

0 commit comments

Comments
 (0)