Skip to content

Commit 7e9ff4b

Browse files
committed
fix indexEvents bug
1 parent ffbc411 commit 7e9ff4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cli/src/commands/init.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,8 +783,8 @@ async function processInitForm(
783783
initial: true,
784784
skip: () => !!initIndexEvents || isSubstreams || isComposedSubgraph,
785785
result: value => {
786-
indexEvents = value === 'true';
787-
initDebugger.extend('processInitForm')('indexEvents: %O', value);
786+
indexEvents = String(value) === 'true';
787+
initDebugger.extend('processInitForm')('indexEvents: %O', indexEvents);
788788
return value;
789789
},
790790
});

0 commit comments

Comments
 (0)