Skip to content

Commit

Permalink
Update the comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Jul 2, 2024
1 parent 32e8589 commit 0c46a05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/parser/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 "";
};

0 comments on commit 0c46a05

Please sign in to comment.