@vizamodo/viza-dispatcher 1.5.21 → 1.5.22

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.
@@ -128,7 +128,7 @@ export async function dispatcherDispatch(input, options, mode = "dispatch") {
128
128
  throw new DispatchRejectedError(`Dispatch request rejected by gateway${detail}`, { cause: err });
129
129
  }
130
130
  }
131
- console.log("[dispatcher] Refreshing bootstrap config and retrying once …");
131
+ console.log("\n[dispatcher] Refreshing bootstrap config and retrying once …");
132
132
  let retryErr = null;
133
133
  try {
134
134
  const fresh = await loadGatewayBootstrapConfig(options.auth.targetEnv, { forceRefresh: true });
@@ -188,15 +188,15 @@ export async function dispatcherDispatch(input, options, mode = "dispatch") {
188
188
  };
189
189
  const classified = classifyAccepted(accepted);
190
190
  if (classified.kind === "done") {
191
- console.log(`[${identity.login}] status: done (${classified.done.status})`);
191
+ console.log(`\n[${identity.login}] status: done (${classified.done.status})`);
192
192
  }
193
193
  else {
194
194
  // distinguish new dispatch vs reuse
195
195
  if (accepted.action === "reuse") {
196
- console.log(`[${identity.login}] ${chalk.gray(`status: reusing in-flight session`)} (${classified.sessionId}) …`);
196
+ console.log(`\n[${identity.login}] ${chalk.gray(`status: reusing in-flight session`)} (${classified.sessionId}) …`);
197
197
  }
198
198
  else {
199
- console.log(`[${identity.login}] ${chalk.gray(`status: dispatched new session`)} (${classified.sessionId}) …`);
199
+ console.log(`\n[${identity.login}] ${chalk.gray(`status: dispatched new session`)} (${classified.sessionId}) …`);
200
200
  }
201
201
  }
202
202
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizamodo/viza-dispatcher",
3
- "version": "1.5.21",
3
+ "version": "1.5.22",
4
4
  "description": "Dispatcher module for GitHub workflow automation across Viza projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",