flowlint 0.8.3 → 0.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +4 -3
- package/dist/cli.js.map +1 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -23913,9 +23913,10 @@ function loadConfig(configPath) {
|
|
|
23913
23913
|
}
|
|
23914
23914
|
return loadConfigFromCwd();
|
|
23915
23915
|
}
|
|
23916
|
+
var fsOverride = null;
|
|
23916
23917
|
function loadConfigFromFile(configPath) {
|
|
23917
23918
|
try {
|
|
23918
|
-
const fs3 = __require("fs");
|
|
23919
|
+
const fs3 = fsOverride || __require("fs");
|
|
23919
23920
|
if (!fs3.existsSync(configPath)) {
|
|
23920
23921
|
return defaultConfig;
|
|
23921
23922
|
}
|
|
@@ -23927,7 +23928,7 @@ function loadConfigFromFile(configPath) {
|
|
|
23927
23928
|
}
|
|
23928
23929
|
function loadConfigFromCwd() {
|
|
23929
23930
|
try {
|
|
23930
|
-
const fs3 = __require("fs");
|
|
23931
|
+
const fs3 = fsOverride || __require("fs");
|
|
23931
23932
|
const path4 = __require("path");
|
|
23932
23933
|
const candidates = [".flowlint.yml", ".flowlint.yaml", "flowlint.config.yml"];
|
|
23933
23934
|
const cwd = process.cwd();
|
|
@@ -24251,7 +24252,7 @@ var initCommand = new Command("init").description("Initialize FlowLint configura
|
|
|
24251
24252
|
// src/cli.ts
|
|
24252
24253
|
var import_meta = {};
|
|
24253
24254
|
var program2 = new Command();
|
|
24254
|
-
program2.name("flowlint").description("Static analysis tool for n8n workflows").version("0.8.
|
|
24255
|
+
program2.name("flowlint").description("Static analysis tool for n8n workflows").version("0.8.5");
|
|
24255
24256
|
program2.addCommand(scanCommand);
|
|
24256
24257
|
program2.addCommand(initCommand);
|
|
24257
24258
|
if (import_meta.url === `file://${process.argv[1]}`) {
|