Skip to content

Commit

Permalink
chore(release): 2.29.0 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
junners committed Jul 12, 2024
1 parent c65c227 commit cf8f23d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 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
@@ -1,6 +1,6 @@
{
"name": "lightning-flow-scanner",
"version": "2.28.3",
"version": "2.29.0",
"bugs": "https://github.com/Lightning-Flow-Scanner/lightning-flow-scanner-sfdx/issues",
"dependencies": {
"@oclif/core": "^4.0.7",
Expand Down
4 changes: 2 additions & 2 deletions src/commands/flow/scan.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { SfCommand, Flags } from "@salesforce/sf-plugins-core";
import { Messages, SfError } from "@salesforce/core";
import * as core from "lightning-flow-scanner-core/out/index.js";
import * as fs from "fs-extra";
import * as fse from "fs-extra";
import { FindFlows } from "../../libs/FindFlows.js";
import { Violation } from "../../models/Violation.js";
import chalk from "chalk";
Expand Down Expand Up @@ -167,7 +167,7 @@ export default class Scan extends SfCommand<ScanResult> {
} else if (sourcepath) {
flowFiles = sourcepath
.split(",")
.filter((f) => fs.existsSync(f));
.filter((f) => fse.exists(f));
} else {
flowFiles = FindFlows(".");
}
Expand Down

0 comments on commit cf8f23d

Please sign in to comment.