@ucdjs/release-scripts 0.1.0-beta.37 → 0.1.0-beta.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +4 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2062,7 +2062,10 @@ async function verifyWorkflow(options) {
|
|
|
2062
2062
|
if (!originalBranch.ok) exitWithError(originalBranch.error.message);
|
|
2063
2063
|
if (originalBranch.value !== defaultBranch) {
|
|
2064
2064
|
const checkout = await checkoutBranch(defaultBranch, options.workspaceRoot);
|
|
2065
|
-
if (!checkout.ok || !checkout.value)
|
|
2065
|
+
if (!checkout.ok || !checkout.value) {
|
|
2066
|
+
console.error(checkout.ok === false && checkout.error);
|
|
2067
|
+
exitWithError(`Failed to checkout branch: ${defaultBranch}`);
|
|
2068
|
+
}
|
|
2066
2069
|
}
|
|
2067
2070
|
let existingOverrides = {};
|
|
2068
2071
|
try {
|