-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search through untracked files for graphql-tag. Don't error out on fi…
…les that can't be found. (#66) ## Summary: This fixes two bugs: 1) Creating types wouldn't work if the files hadn't yet been checked in to Git. This fixes that by now searching through untracked files, as well. 2) The script couldn't run if the graphql type files didn't exist. This fixes that by gracefully handling paths that don't exist. Issue: FEI-5065 ## Test plan: I built it and ran it in webapp and it worked as expected. Author: jeresig Reviewers: somewhatabstract, kevinb-khan, jaredly Required Reviewers: Approved By: somewhatabstract Checks: ✅ Lint & Test (ubuntu-latest, 16.x) Pull Request URL: #66
- Loading branch information
Showing
4 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@khanacademy/graphql-flow': patch | ||
--- | ||
|
||
Search through untracked files for graphql-tag. Don't error out on files that can't be found. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters