From 24b594f24cb99c22fad251450af98c2f9a662e4b Mon Sep 17 00:00:00 2001 From: Mqx <62719703+Mqxx@users.noreply.github.com> Date: Sat, 20 Jan 2024 19:32:16 +0100 Subject: [PATCH] Update build.config.ts --- build.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.config.ts b/build.config.ts index c4e76c9..f417bd7 100644 --- a/build.config.ts +++ b/build.config.ts @@ -12,7 +12,7 @@ const args = parseArgs<{ console.log('Build process started.'); -const timestamp = Date.now() +const timestampNow = Date.now() Promise.all([ esbuild.context({ @@ -44,7 +44,7 @@ Promise.all([ ], }).then((context) => {return args.watch ? context.watch() : context.dispose()}), ]).then(() => { - console.log(green(`Build process finished in ${(Date.now() - timestamp).toString()}ms.`)); + console.log(green(`Build process finished in ${(Date.now() - timestampNow).toString()}ms.`)); if (!args.watch) { esbuild.stop();