pruny 1.3.0 → 1.4.0
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 +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9792,6 +9792,7 @@ program2.command("init").description("Create a default pruny.config.json file").
|
|
|
9792
9792
|
init();
|
|
9793
9793
|
});
|
|
9794
9794
|
program2.action(async (options) => {
|
|
9795
|
+
const startTime = Date.now();
|
|
9795
9796
|
const config = loadConfig({
|
|
9796
9797
|
dir: options.dir,
|
|
9797
9798
|
config: options.config,
|
|
@@ -10025,5 +10026,8 @@ program2.action(async (options) => {
|
|
|
10025
10026
|
console.error(source_default.red("Error scanning:"), _err);
|
|
10026
10027
|
process.exit(1);
|
|
10027
10028
|
}
|
|
10029
|
+
const elapsed = ((Date.now() - startTime) / 1000).toFixed(2);
|
|
10030
|
+
console.log(source_default.dim(`
|
|
10031
|
+
⏱️ Completed in ${elapsed}s`));
|
|
10028
10032
|
});
|
|
10029
10033
|
program2.parse();
|