@paradow/ledge 0.5.2 → 0.5.4
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.
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-U4RU6V35.js";
|
|
10
10
|
import {
|
|
11
11
|
LEDGE_VERSION
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BRJSMZ7B.js";
|
|
13
13
|
import {
|
|
14
14
|
SERVICE,
|
|
15
15
|
inDaemonService,
|
|
@@ -254,7 +254,7 @@ function handBack(text) {
|
|
|
254
254
|
const m = HANDBACK.exec(text.trimStart());
|
|
255
255
|
if (!m) return void 0;
|
|
256
256
|
const lines = m[2].split("\n");
|
|
257
|
-
while (lines.length && (!lines[0].trim() || /^\
|
|
257
|
+
while (lines.length && (!lines[0].trim() || /^\[[^\]]*\]/.test(lines[0]))) lines.shift();
|
|
258
258
|
const indent = Math.min(...lines.filter((l) => l.trim()).map((l) => l.length - l.trimStart().length));
|
|
259
259
|
return { helperId: m[1], report: lines.map((l) => l.slice(Number.isFinite(indent) ? indent : 0)).join("\n").trim() };
|
|
260
260
|
}
|
package/dist/cli/index.js
CHANGED
|
@@ -26,7 +26,7 @@ async function main(argv) {
|
|
|
26
26
|
const [cmd, ...rest] = argv;
|
|
27
27
|
switch (cmd) {
|
|
28
28
|
case "daemon": {
|
|
29
|
-
const { startDaemon } = await import("./daemon-
|
|
29
|
+
const { startDaemon } = await import("./daemon-P5XWP2UC.js");
|
|
30
30
|
await startDaemon();
|
|
31
31
|
await new Promise(() => {
|
|
32
32
|
});
|
|
@@ -34,7 +34,7 @@ async function main(argv) {
|
|
|
34
34
|
}
|
|
35
35
|
case "--version":
|
|
36
36
|
case "version": {
|
|
37
|
-
const { LEDGE_VERSION } = await import("./version-
|
|
37
|
+
const { LEDGE_VERSION } = await import("./version-G5DZ7PFI.js");
|
|
38
38
|
console.log(LEDGE_VERSION);
|
|
39
39
|
return 0;
|
|
40
40
|
}
|
package/package.json
CHANGED