Skip to content

Commit 0c46a05

Browse files
committed
Update the comment.
1 parent 32e8589 commit 0c46a05

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/parser/utils.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ export const getPathWithExtension = (pathWithoutExtension: string): string => {
2121
return pathWithoutExtension + '.ts';
2222
}
2323
// 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.
24+
// have a file that doesn't exist. This will happen when we delete all of
25+
// the type files before re-running graphql-flow again. We want to ensure
26+
// that we don't error out in this case.
2627
return "";
2728
};

0 commit comments

Comments
 (0)