Skip to content

Commit 64545cb

Browse files
committed
updates core
1 parent 9b53d41 commit 64545cb

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 7 additions & 7 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
@@ -4,7 +4,7 @@
44
"bugs": "https://github.com/Flow-Scanner/lightning-flow-scanner-cli/issues",
55
"description": "A Salesforce CLI plugin for analysis and optimization of Salesforce Flow. Scans metadata for 20+ issues such as hardcoded IDs, unsafe contexts, inefficient SOQL/DML operations, recursion risks, and missing fault handling. Supports auto-fixes, rule configurations, and CI/CD integration to help users maintain secure and reliable Flow automations.",
66
"dependencies": {
7-
"@flow-scanner/lightning-flow-scanner-core": "^6.4.0",
7+
"@flow-scanner/lightning-flow-scanner-core": "^6.4.3",
88
"@oclif/core": "^4.5.4",
99
"@salesforce/core": "^8.18.7",
1010
"@salesforce/sf-plugins-core": "^12.2.3",

src/commands/flow/scan.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import pkg, {
88
ParsedFlow,
99
ScanResult,
1010
RuleResult,
11-
ResultDetails,
11+
Violation,
1212
} from "@flow-scanner/lightning-flow-scanner-core";
1313
import { inspect } from "util";
1414
const {
@@ -204,7 +204,7 @@ export default class Scan extends SfCommand<Output> {
204204
const severity = rule.severity ?? "error";
205205
const flowUri = sr.flow.fsPath;
206206
const flowApiName = `${sr.flow.name}.flow-meta.xml`;
207-
for (const detail of rule.details as ResultDetails[]) {
207+
for (const detail of rule.details as Violation[]) {
208208
errors.push(
209209
Object.assign(detail, {
210210
ruleDescription: rule.ruleDefinition.description,

0 commit comments

Comments
 (0)