From 3726ab9a3c4536058cb3a0ba85617ee72c132f9a Mon Sep 17 00:00:00 2001 From: edelciomolina Date: Wed, 6 Dec 2023 18:37:24 -0300 Subject: [PATCH] Remove: Logs Bundler EXE Using "> NUL 2>&1" --- lib/generate.js | 2 -- lib/minify.js | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/generate.js b/lib/generate.js index 5797a96..bdefc16 100644 --- a/lib/generate.js +++ b/lib/generate.js @@ -61,8 +61,6 @@ var Generate = (() => { } else { retPath = ret } - - core.info(`Processing: ${retPath}`) return retPath } diff --git a/lib/minify.js b/lib/minify.js index 3733dd3..e199318 100644 --- a/lib/minify.js +++ b/lib/minify.js @@ -12,7 +12,7 @@ var Minify = (() => { const options = { cwd: path.join(process.cwd(), bundle_config_folder) } const cleanArgs = ['clean', `"${bundle_config_file}"`] - execSync(`${bundlerMinifierConsole} ${cleanArgs.join(' ')}`, options) + execSync(`${bundlerMinifierConsole} ${cleanArgs.join(' ')} > NUL 2>&1`, options) } function Process(opt) { @@ -28,7 +28,7 @@ var Minify = (() => { const options = { cwd: path.join(process.cwd(), bundle_config_folder) } - const minifyResult = execSync(`${bundlerMinifierConsole} ${minifyArgs.join(' ')}`, options) + const minifyResult = execSync(`${bundlerMinifierConsole} ${minifyArgs.join(' ')} > NUL 2>&1`, options) const result = minifyResult.toString() if (opt.progress) opt.progress(result)