next-issue 16.5.2 → 16.5.3
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/cli/start.mjs +2 -2
- package/dist/cli/switch-run.mjs +1 -1
- package/package.json +1 -1
package/dist/cli/start.mjs
CHANGED
|
@@ -19,7 +19,7 @@ export async function startInWorker(root, argv) {
|
|
|
19
19
|
if (going(progress)) {
|
|
20
20
|
const join = await joined(connection, root, argv, progress);
|
|
21
21
|
if (join.joined) {
|
|
22
|
-
return statusText(connection.version, join.progress)
|
|
22
|
+
return `a run is going already\n${statusText(connection.version, join.progress)}`;
|
|
23
23
|
}
|
|
24
24
|
if (!isNewer(version, connection.version) || !REFUSED_GOING.includes(join.refusal)) {
|
|
25
25
|
throw new Error(join.refusal);
|
|
@@ -31,7 +31,7 @@ export async function startInWorker(root, argv) {
|
|
|
31
31
|
if (given.hunt !== undefined) {
|
|
32
32
|
latest = await switched(connection, root, 'hunt', given.hunt);
|
|
33
33
|
}
|
|
34
|
-
return statusText(connection.version, latest)
|
|
34
|
+
return `a run is going already\n${statusText(connection.version, latest)}`;
|
|
35
35
|
}
|
|
36
36
|
const id = randomUUID();
|
|
37
37
|
const accepted = startedRun(connection, root, id);
|
package/dist/cli/switch-run.mjs
CHANGED
|
@@ -103,7 +103,7 @@ export function statusInWorker(root) {
|
|
|
103
103
|
}
|
|
104
104
|
export function statusText(version, progress) {
|
|
105
105
|
const lines = [
|
|
106
|
-
|
|
106
|
+
`${progress.status} in worker ${version}`,
|
|
107
107
|
`watching ${onOffText(progress.watching)}, hunting ${onOffText(progress.hunting)}`,
|
|
108
108
|
];
|
|
109
109
|
if (progress.upgrade !== undefined) {
|