Merge pull request #7427 from sevetseh28/add-stdout-build-error
chore: Add stdout console log when package fails to build (build-packages.js)
This commit is contained in:
commit
661fe95273
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ function runCommand(command, cwd, packageName) {
|
|||
} else {
|
||||
console.error(`❌ ${packageName}: ${command} failed with code ${code}`);
|
||||
console.error(`stderr: ${stderr}`);
|
||||
console.error(`stdout: ${stdout}`);
|
||||
reject(
|
||||
new Error(`${packageName} failed: ${command} (exit code ${code})`),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue