@zswarm/core 0.2.8 → 0.2.9
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/ops/restart.js +2 -1
- package/package.json +1 -1
package/dist/ops/restart.js
CHANGED
|
@@ -251,7 +251,8 @@ export async function restartPane(client, state, args, target, clock, opts = {})
|
|
|
251
251
|
if (held && !isTrue(args.force)) {
|
|
252
252
|
throw new ZellijError("pane_leased", `pane ${to} is leased by relay ${held.relayId} (from ${held.from}, since ${new Date(held.at).toISOString()}); pass force=true to restart it anyway`, { relayId: held.relayId, from: held.from, at: held.at, dir: held.dir });
|
|
253
253
|
}
|
|
254
|
-
|
|
254
|
+
// --harness names the profile for wrapper-launched panes (exit recipe, ready and busy markers).
|
|
255
|
+
const profile = resolveHarness(observed, optionalString(args.harness));
|
|
255
256
|
const kind = restartPaneKind(observed);
|
|
256
257
|
const handoffSelf = isTrue(args.handoffSelf);
|
|
257
258
|
const supplied = typeof args.handoff === "string" && args.handoff.length > 0 ? args.handoff : null;
|