From dfe8290ac02a15a0e75070a21ecad93fcb6e2659 Mon Sep 17 00:00:00 2001 From: Guusvanmeerveld Date: Sat, 24 Jul 2021 23:35:43 +0200 Subject: [PATCH] Fixed errors when building for the first time --- src/builder/builders.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/builder/builders.js b/src/builder/builders.js index 75fca27..b6193e9 100644 --- a/src/builder/builders.js +++ b/src/builder/builders.js @@ -64,8 +64,7 @@ const compile = (file, type, callback) => { return; default: - - return minify(file).then(callback).catch(console.log('Error compiling file ' + file)) + return minify(file).then(callback).catch((err) => console.log('Error compiling file ' + file + ':' + err)) } };