Merge pull request #5252 from jtbandes/patch-1

Fix ReferenceError in publish.js
This commit is contained in:
Daniel Imms
2025-01-08 09:33:19 -08:00
committed by GitHub
+1 -2
View File
@@ -114,8 +114,7 @@ function checkAndPublishPackage(packageDir, repoCommit, peerDependencies) {
stdio: 'inherit'
});
if (result.status) {
error(`Spawn exited with code ${result.status}`);
process.exit(result.status);
throw new Error(`Spawn exited with code ${result.status}`);
}
return { isStableRelease, nextVersion };