Skip to content

Commit 4c3d7c4

Browse files
committed
Merge remote-tracking branch 'origin/main' into update-gitattributes
2 parents 31fd920 + 058f26d commit 4c3d7c4

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

bin/deploy-runner.js

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/deploy-runner/index.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,14 @@ async function main(): Promise<void> {
330330
return;
331331
}
332332

333-
await mod.buildFlow(scripting);
333+
const flowResult = await mod.buildFlow(scripting);
334334

335-
emit("result", { success: true });
335+
const flowId =
336+
typeof flowResult?.id === "string" ? flowResult.id : undefined;
337+
const flowName =
338+
typeof flowResult?.name === "string" ? flowResult.name : undefined;
339+
340+
emit("result", { success: true, flowId, flowName });
336341
} catch (err) {
337342
const message = err instanceof Error ? err.message : String(err);
338343
emit("result", { success: false, error: message });

0 commit comments

Comments
 (0)