@mutmutco/cli 2.40.0 → 2.40.1
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/main.cjs +8 -3
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -12592,13 +12592,18 @@ function porcelainHasBlockingChanges(porcelain) {
|
|
|
12592
12592
|
// src/tenant-control-parse.ts
|
|
12593
12593
|
var OUTPUT_BEGIN = "mmi-control-output-begin";
|
|
12594
12594
|
var OUTPUT_END = "mmi-control-output-end";
|
|
12595
|
+
function logLinePayload(line) {
|
|
12596
|
+
const z = line.lastIndexOf("Z ");
|
|
12597
|
+
if (z >= 0) return line.slice(z + 2);
|
|
12598
|
+
return line;
|
|
12599
|
+
}
|
|
12595
12600
|
function extractControlOutputFromLog(log) {
|
|
12596
12601
|
const lines = log.split(/\r?\n/);
|
|
12597
|
-
const start = lines.findIndex((l) => l.trim() === OUTPUT_BEGIN);
|
|
12602
|
+
const start = lines.findIndex((l) => logLinePayload(l).trim() === OUTPUT_BEGIN);
|
|
12598
12603
|
if (start < 0) return "";
|
|
12599
|
-
const end = lines.findIndex((l, i) => i > start && l.trim() === OUTPUT_END);
|
|
12604
|
+
const end = lines.findIndex((l, i) => i > start && logLinePayload(l).trim() === OUTPUT_END);
|
|
12600
12605
|
const slice = end < 0 ? lines.slice(start + 1) : lines.slice(start + 1, end);
|
|
12601
|
-
return slice.join("\n").trim();
|
|
12606
|
+
return slice.map(logLinePayload).join("\n").trim();
|
|
12602
12607
|
}
|
|
12603
12608
|
function parseStatusSnippet(stdout) {
|
|
12604
12609
|
const t = stdout.toLowerCase();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mutmutco/cli",
|
|
3
|
-
"version": "2.40.
|
|
3
|
+
"version": "2.40.1",
|
|
4
4
|
"description": "MMI Future CLI — delivers the org rules (whole-file), plus saga and KB access. The cross-IDE engine the plugin's SessionStart hook drives.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|