5etools-utils 0.13.0 → 0.13.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/lib/BrewCleaner.js +4 -1
- package/package.json +1 -1
package/lib/BrewCleaner.js
CHANGED
|
@@ -165,12 +165,15 @@ export class BrewCleaner {
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
static run () {
|
|
168
|
+
const tStart = Date.now();
|
|
169
|
+
|
|
168
170
|
let totalFiles = 0;
|
|
171
|
+
|
|
169
172
|
Uf.runOnDirs((dir) => {
|
|
170
173
|
Um.info(`CLEANER`, `Cleaning dir "${dir}"...`);
|
|
171
174
|
totalFiles += this._cleanFolder(dir);
|
|
172
175
|
});
|
|
173
176
|
|
|
174
|
-
Um.info(`CLEANER`, `Cleaning complete. Cleaned ${totalFiles} file${totalFiles === 1 ? "" : "s"}.`);
|
|
177
|
+
Um.info(`CLEANER`, `Cleaning complete. Cleaned ${totalFiles} file${totalFiles === 1 ? "" : "s"}. Ran in ${(Date.now() - tStart / 1000).toFixed(2)}s.`);
|
|
175
178
|
}
|
|
176
179
|
}
|