Skip to content

Commit

Permalink
Fix replacement of '___RootTypeName___' placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jun 2, 2020
1 parent 61f566d commit d4bdb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ parseCLI((options) => {
);

const rootTypeName = schema.getQueryType().name;
body = body.replace('__RootTypeName__', rootTypeName);
body = body.replace('___RootTypeName___', rootTypeName);

userSDL = new Source(body, fileName);
}
Expand Down

0 comments on commit d4bdb8c

Please sign in to comment.