From 0c46a053374655c2df3f4adb3f7b6c04b646502a Mon Sep 17 00:00:00 2001 From: John Resig Date: Tue, 2 Jul 2024 12:15:51 -0400 Subject: [PATCH] Update the comment. --- src/parser/utils.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/parser/utils.ts b/src/parser/utils.ts index 1af603e..75f87e1 100644 --- a/src/parser/utils.ts +++ b/src/parser/utils.ts @@ -21,7 +21,8 @@ export const getPathWithExtension = (pathWithoutExtension: string): string => { return pathWithoutExtension + '.ts'; } // NOTE(john): This is a bit of a hack, but it's necessary for when we - // have a file that doesn't have an extension. This will happen when we - // 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 + // that we don't error out in this case. return ""; };