pruny 1.28.0 → 1.28.1
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/index.js +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9684,10 +9684,9 @@ async function scanHttpUsage(config) {
|
|
|
9684
9684
|
const extensions = config.extensions;
|
|
9685
9685
|
const extGlob = `**/*{${extensions.join(",")}}`;
|
|
9686
9686
|
console.log(` \uD83D\uDD0D Tracking HTTP usage in: ${searchDir}`);
|
|
9687
|
-
const ignoreFolders = config.ignore.folders.filter((f) => f !== "public" && f !== "**/public");
|
|
9688
9687
|
const files = await import_fast_glob4.default(extGlob, {
|
|
9689
9688
|
cwd: searchDir,
|
|
9690
|
-
ignore: [...
|
|
9689
|
+
ignore: [...config.ignore.folders],
|
|
9691
9690
|
absolute: true
|
|
9692
9691
|
});
|
|
9693
9692
|
let axiosCount = 0;
|