diff --git a/generator/src/build.js b/generator/src/build.js index cc8bfa8e..7da7ec87 100755 --- a/generator/src/build.js +++ b/generator/src/build.js @@ -208,7 +208,7 @@ async function run(options) { ); } catch (error) { if (error) { - console.error(error); + console.error(restoreColorSafe(error)); } buildError = true; process.exitCode = 1;