Skip to content

Commit

Permalink
Remove: Logs Bundler EXE
Browse files Browse the repository at this point in the history
Using "> NUL 2>&1"
  • Loading branch information
edelciomolina committed Dec 6, 2023
1 parent 6595547 commit 3726ab9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ var Generate = (() => {
} else {
retPath = ret
}

core.info(`Processing: ${retPath}`)
return retPath
}

Expand Down
4 changes: 2 additions & 2 deletions lib/minify.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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)
Expand Down

0 comments on commit 3726ab9

Please sign in to comment.