Skip to content

Commit b2e773f

Browse files
committed
fix skip bug
1 parent 425d77f commit b2e773f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/commands/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ async function processInitForm(
565565
type: 'input',
566566
name: 'source',
567567
message: sourceMessage,
568-
skip: () => !isComposedSubgraph,
568+
skip: () => initFromExample !== undefined || !protocolInstance.hasContract() || isSubstreams,
569569
initial: initContract,
570570
validate: async (value: string) => {
571571
if (isComposedSubgraph) {

0 commit comments

Comments
 (0)