You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/package/release.js
+9-9
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ export default class Publish {
59
59
if(status.isDirty)returnresult([500,`working copy or sub-repositories has uncommited changes or untracked files`]);
60
60
61
61
// check distance from the last release
62
-
if(status.currentVersion&&!status.currentVersionDistance&&(awaitconfirm("No changes since the latest release. Continue?",["no","yes"]))==="no")returnresult([500,"Terminated"]);
62
+
if(status.currentVersion&&!status.currentVersionDistance&&(awaitconfirm("No changes since the latest release. Continue?",["yes","[no]"]))!=="yes")returnresult([500,"Terminated"]);
63
63
64
64
this.#version =status.currentVersion;
65
65
@@ -150,7 +150,7 @@ You need to merge with the "${ latestPreRelease.toVersionString() }" first.`,
0 commit comments