@coana-tech/cli 13.19.31 → 13.19.33
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/cli.js +6 -7
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -95335,14 +95335,13 @@ var require_file_utils = __commonJS({
|
|
|
95335
95335
|
}
|
|
95336
95336
|
async function getAllFilesRec(dir, excludeDirs) {
|
|
95337
95337
|
async function helper(dir2, arrayOfFiles) {
|
|
95338
|
-
const files = await (0, promises_12.readdir)(dir2);
|
|
95338
|
+
const files = await (0, promises_12.readdir)(dir2, { withFileTypes: true });
|
|
95339
95339
|
for (const file of files) {
|
|
95340
|
-
const filePath = (0, path_1.join)(dir2, file);
|
|
95341
|
-
|
|
95342
|
-
|
|
95343
|
-
if (!excludeDirs?.includes(file))
|
|
95340
|
+
const filePath = (0, path_1.join)(dir2, file.name);
|
|
95341
|
+
if (file.isDirectory()) {
|
|
95342
|
+
if (!excludeDirs?.includes(file.name))
|
|
95344
95343
|
await helper(filePath, arrayOfFiles);
|
|
95345
|
-
} else {
|
|
95344
|
+
} else if (file.isFile()) {
|
|
95346
95345
|
arrayOfFiles.push(filePath);
|
|
95347
95346
|
}
|
|
95348
95347
|
}
|
|
@@ -190241,7 +190240,7 @@ var require_version = __commonJS({
|
|
|
190241
190240
|
"use strict";
|
|
190242
190241
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
190243
190242
|
exports2.version = void 0;
|
|
190244
|
-
exports2.version = "13.19.
|
|
190243
|
+
exports2.version = "13.19.33";
|
|
190245
190244
|
}
|
|
190246
190245
|
});
|
|
190247
190246
|
|