Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nommiin committed Nov 24, 2023
1 parent 484736b commit 4b50ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/bundle/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ const args = [Bundle.Base, "tools/bundle/output/"];
try {
if (process.cwd().endsWith("dll")) process.chdir("../");

const start = performance.now();
//const start = performance.now();
if (Program.main(...args) === false) {
throw `An unknown error has occured`;
}
Logger.info(`Script execution completed successfully in ${Math.round(performance.now() - start)}ms`);
Logger.info(`Script execution completed successfully in ${Math.round(0 - start)}ms`);
} catch (e) {
Logger.error(`An error has occured:\n- ${e}`);
process.exit(1);
Expand Down

0 comments on commit 4b50ab3

Please sign in to comment.