Skip to content

Commit c87dcd2

Browse files
committed
fix: timeLog
1 parent d353e1d commit c87dcd2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/cli.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ module.exports = async (argvs) => {
3333
{}
3434
);
3535
await fs.copy(tempDir + "/dist", targetDir);
36+
const timerDownloaded = timer.get();
3637
await onLoad(targetDir, version, argv);
3738
spinner.succeed(
38-
`${nameWithVersion} copied to ${targetDir} in ${timer.get()}. Have fun!`
39+
`${nameWithVersion} copied to ${targetDir} in ${timerDownloaded}. Have fun!`
3940
);
4041
return;
4142
} catch (err) {

0 commit comments

Comments
 (0)