From 341fd5c5550b4f1ac0774c2a36fc55186f07380c Mon Sep 17 00:00:00 2001 From: Sondre Aasemoen Date: Thu, 29 Dec 2022 12:37:43 +0100 Subject: [PATCH] Change m -> ms --- src/compress.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compress.ts b/src/compress.ts index 1db98db..bb1916b 100644 --- a/src/compress.ts +++ b/src/compress.ts @@ -38,7 +38,7 @@ export const gzip = async (dir: URL): Promise => { } const end = hrtime.bigint(); - Logger.success(`finished gzip of ${counter} files in ${(end - start) / 1000000n}m`); + Logger.success(`finished gzip of ${counter} files in ${(end - start) / 1000000n}ms`); }; export const brotli = async (dir: URL): Promise => { @@ -54,5 +54,5 @@ export const brotli = async (dir: URL): Promise => { } const end = hrtime.bigint(); - Logger.success(`finished brotli of ${counter} files in ${(end - start) / 1000000n}m`); + Logger.success(`finished brotli of ${counter} files in ${(end - start) / 1000000n}ms`); };