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:
Dallin Romney 2025-09-08 16:41:44 -07:00 • committed by GitHub
commit 661fe95273
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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})`),
);