Skip to content

Commit

Permalink
feat(core): update core version to 4.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
junners committed Nov 16, 2024
1 parent 8916211 commit c11150d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"cosmiconfig": "^9.0.0",
"fs-extra": "^11.2.0",
"glob": "^11.0.0",
"lightning-flow-scanner-core": "4.6.0",
"lightning-flow-scanner-core": "4.7.0",
"tslib": "^2",
"xml2js": "^0.6.2"
},
Expand Down
12 changes: 7 additions & 5 deletions src/commands/flow/scan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ export type ScanResult = {
export default class Scan extends SfCommand<ScanResult> {
public static description = messages.getMessage("commandDescription");
public static examples: string[] = [
"sfdx flow:scan",
"sfdx flow:scan --failon warning",
"sfdx flow:scan -c path/to/config.json",
"sfdx flow:scan -c path/to/config.json --failon warning",
"sfdx flow:scan -d path/to/flows/directory",
"sf flow scan",
"sf flow scan --failon warning",
"sf flow scan -c path/to/config.json",
"sf flow scan -c path/to/config.json --failon warning",
"sf flow scan -d path/to/flows/directory",
];

protected static requiresUsername = false;
Expand Down Expand Up @@ -97,6 +97,8 @@ export default class Scan extends SfCommand<ScanResult> {
this.userConfig && Object.keys(this.userConfig).length > 0
? core.scan(parsedFlows, this.userConfig)
: core.scan(parsedFlows);

this.debug("scan results", ...scanResults);
this.spinner.stop(`Scan complete`);
this.log("");

Expand Down

0 comments on commit c11150d

Please sign in to comment.