Skip to content

Commit 4e88f5b

Browse files
committed
feat: publish subgraphs as plugins
1 parent 7cc5dd4 commit 4e88f5b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cli/src/commands/demo/command.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,13 @@ async function handleStep2(
348348
{
349349
onboarding,
350350
userInfo,
351+
supportDir,
351352
}: {
352353
onboarding: {
353354
finishedAt?: string;
354355
};
355356
userInfo: UserInfo;
357+
supportDir: string;
356358
},
357359
) {
358360
const graphData = await handleGetFederatedGraphResponse(opts.client, {
@@ -551,7 +553,7 @@ export default function (opts: BaseCommandOptions) {
551553
return async function handleCommand() {
552554
clearScreen();
553555
printHello();
554-
await prepareSupportingData();
556+
const supportDir = await prepareSupportingData();
555557

556558
await waitForKeyPress(
557559
{
@@ -569,6 +571,6 @@ export default function (opts: BaseCommandOptions) {
569571
return;
570572
}
571573

572-
await handleStep2(opts, { onboarding: onboardingCheck, userInfo });
574+
await handleStep2(opts, { onboarding: onboardingCheck, userInfo, supportDir });
573575
};
574576
}

0 commit comments

Comments
 (0)