Skip to content

Commit afe9374

Browse files
fix: build command
1 parent 60d0ef8 commit afe9374

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/utils/command.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ const execAsync = (command, quiet = false, altCommand = null, suppressError = fa
9898
child_process_1.exec(command + (quiet ? ' > /dev/null 2>&1' : '') + (suppressError ? ' || :' : ''), (error, stdout) => {
9999
if (error) {
100100
if (quiet) {
101+
console.log(stdout);
101102
console.log(error.message);
102103
if ('string' === typeof altCommand)
103104
reject(new Error(`command [${altCommand}] exited with code ${error.code}.`));

src/utils/command.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ const execAsync = (command: string, quiet: boolean = false, altCommand: string |
102102
exec(command + (quiet ? ' > /dev/null 2>&1' : '') + (suppressError ? ' || :' : ''), (error, stdout) => {
103103
if (error) {
104104
if (quiet) {
105+
console.log(stdout);
105106
console.log(error.message);
106107
if ('string' === typeof altCommand) reject(new Error(`command [${altCommand}] exited with code ${error.code}.`));
107108
else reject(new Error(`command exited with code ${error.code}.`));

0 commit comments

Comments
 (0)