Add messy debug statements

This commit is contained in:
Andrew Eisenberg
2021-05-11 11:03:34 -07:00
parent a19f1a7b3c
commit f1d500967a
4 changed files with 41 additions and 15 deletions

View File

@@ -154,10 +154,13 @@ class LocDir {
ignore: this.exclude,
nodir: true
});
console.log(`Excluding: ${this.exclude}`);
const files = [];
const info = { ...defaultInfo };
let languages = {};
await Promise.all(paths.map(async (pathItem) => {
console.log(`Processing ${pathItem}`);
const fullPath = slash2_1.default(path_1.default.join(this.cwd, pathItem));
if (!pathItem ||
this.ignoreLanguage(pathItem) ||
@@ -205,4 +208,4 @@ function ensureArray(arr, dfault) {
? arr
: [arr];
}
//# sourceMappingURL=directory.js.map
//# sourceMappingURL=directory.js.map