Skip to content

Commit c11150d

Browse files
committed
feat(core): update core version to 4.7.0
1 parent 8916211 commit c11150d

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

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.2.0",
1212
"glob": "^11.0.0",
13-
"lightning-flow-scanner-core": "4.6.0",
13+
"lightning-flow-scanner-core": "4.7.0",
1414
"tslib": "^2",
1515
"xml2js": "^0.6.2"
1616
},

src/commands/flow/scan.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ export type ScanResult = {
2525
export default class Scan extends SfCommand<ScanResult> {
2626
public static description = messages.getMessage("commandDescription");
2727
public static examples: string[] = [
28-
"sfdx flow:scan",
29-
"sfdx flow:scan --failon warning",
30-
"sfdx flow:scan -c path/to/config.json",
31-
"sfdx flow:scan -c path/to/config.json --failon warning",
32-
"sfdx flow:scan -d path/to/flows/directory",
28+
"sf flow scan",
29+
"sf flow scan --failon warning",
30+
"sf flow scan -c path/to/config.json",
31+
"sf flow scan -c path/to/config.json --failon warning",
32+
"sf flow scan -d path/to/flows/directory",
3333
];
3434

3535
protected static requiresUsername = false;
@@ -97,6 +97,8 @@ export default class Scan extends SfCommand<ScanResult> {
9797
this.userConfig && Object.keys(this.userConfig).length > 0
9898
? core.scan(parsedFlows, this.userConfig)
9999
: core.scan(parsedFlows);
100+
101+
this.debug("scan results", ...scanResults);
100102
this.spinner.stop(`Scan complete`);
101103
this.log("");
102104

0 commit comments

Comments
 (0)