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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",