From c11150db75633411600e29cd762bf132b7fbe991 Mon Sep 17 00:00:00 2001 From: junners Date: Sat, 16 Nov 2024 01:14:54 -0800 Subject: [PATCH] feat(core): update core version to 4.7.0 --- package-lock.json | 8 ++++---- package.json | 2 +- src/commands/flow/scan.ts | 12 +++++++----- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 222527e..67b4413 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,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" }, @@ -7640,9 +7640,9 @@ } }, "node_modules/lightning-flow-scanner-core": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lightning-flow-scanner-core/-/lightning-flow-scanner-core-4.6.0.tgz", - "integrity": "sha512-bDNIwjsXLych5zmjMi8HyJ+jBFZ51jomHldelUyF8Zz0WzJpUVL8ExFHOuwaYumKqjfAV7/fJ2ZQVhJIXGtzyA==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/lightning-flow-scanner-core/-/lightning-flow-scanner-core-4.7.0.tgz", + "integrity": "sha512-KRIoDuppTt5XpGcs3b91qazvT8+LLPfL49gkGO88ZIgNM16xBatfmiFLbvLA7Q6pS71gEAZN5Z70/hSPdOC+7w==", "license": "MIT", "dependencies": { "@types/path-browserify": "^1.0.3", diff --git a/package.json b/package.json index b2774e4..6bb5228 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/src/commands/flow/scan.ts b/src/commands/flow/scan.ts index b123a0f..d271f03 100644 --- a/src/commands/flow/scan.ts +++ b/src/commands/flow/scan.ts @@ -25,11 +25,11 @@ export type ScanResult = { export default class Scan extends SfCommand { 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; @@ -97,6 +97,8 @@ export default class Scan extends SfCommand { 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("");