@dunnewold-labs/mr-manager 0.4.42 → 0.4.43
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 +6 -13
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -185,7 +185,7 @@ import { fileURLToPath } from "url";
|
|
|
185
185
|
// cli/package.json
|
|
186
186
|
var package_default = {
|
|
187
187
|
name: "@dunnewold-labs/mr-manager",
|
|
188
|
-
version: "0.4.
|
|
188
|
+
version: "0.4.43",
|
|
189
189
|
description: "Mr. Manager - Task and project management CLI",
|
|
190
190
|
bin: {
|
|
191
191
|
mr: "./dist/index.mjs"
|
|
@@ -3121,19 +3121,12 @@ var watchCommand = new Command9("watch").description(
|
|
|
3121
3121
|
if (code === 0) {
|
|
3122
3122
|
try {
|
|
3123
3123
|
const noMrPath = resolve2(executionDir, ".mr-no-mr");
|
|
3124
|
-
|
|
3124
|
+
const noMrRequested = existsSync7(noMrPath);
|
|
3125
3125
|
let noMrDescription;
|
|
3126
|
-
if (
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
noMrDescription = readFileSync5(noMrPath, "utf-8").trim();
|
|
3131
|
-
unlinkSync(noMrPath);
|
|
3132
|
-
logSuccess(prefix, `No ${vcs === "gitlab" ? "MR" : "PR"} needed \u2014 ${noMrDescription}`);
|
|
3133
|
-
} else {
|
|
3134
|
-
unlinkSync(noMrPath);
|
|
3135
|
-
logWarn(prefix, `Ignoring stale .mr-no-mr left in ${executionDir} (written before this run)`);
|
|
3136
|
-
}
|
|
3126
|
+
if (noMrRequested) {
|
|
3127
|
+
noMrDescription = readFileSync5(noMrPath, "utf-8").trim();
|
|
3128
|
+
unlinkSync(noMrPath);
|
|
3129
|
+
logSuccess(prefix, `No ${vcs === "gitlab" ? "MR" : "PR"} needed \u2014 ${noMrDescription}`);
|
|
3137
3130
|
}
|
|
3138
3131
|
const prLabel = vcs === "gitlab" ? "MR" : "PR";
|
|
3139
3132
|
let prUrl = null;
|