Merge pull request #5252 from jtbandes/patch-1
Fix ReferenceError in publish.js
This commit is contained in:
+1
-2
@@ -114,8 +114,7 @@ function checkAndPublishPackage(packageDir, repoCommit, peerDependencies) {
|
|||||||
stdio: 'inherit'
|
stdio: 'inherit'
|
||||||
});
|
});
|
||||||
if (result.status) {
|
if (result.status) {
|
||||||
error(`Spawn exited with code ${result.status}`);
|
throw new Error(`Spawn exited with code ${result.status}`);
|
||||||
process.exit(result.status);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return { isStableRelease, nextVersion };
|
return { isStableRelease, nextVersion };
|
||||||
|
|||||||
Reference in New Issue
Block a user