We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32e8589 commit 0c46a05Copy full SHA for 0c46a05
src/parser/utils.ts
@@ -21,7 +21,8 @@ export const getPathWithExtension = (pathWithoutExtension: string): string => {
21
return pathWithoutExtension + '.ts';
22
}
23
// NOTE(john): This is a bit of a hack, but it's necessary for when we
24
- // have a file that doesn't have an extension. This will happen when we
25
- // delete all of the type files before re-running graphql-flow again.
+ // have a file that doesn't exist. This will happen when we delete all of
+ // the type files before re-running graphql-flow again. We want to ensure
26
+ // that we don't error out in this case.
27
return "";
28
};
0 commit comments