Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regex too strict #266

Open
orefalo opened this issue Dec 23, 2018 · 1 comment
Open

regex too strict #266

orefalo opened this issue Dec 23, 2018 · 1 comment

Comments

@orefalo
Copy link

orefalo commented Dec 23, 2018

https://github.com/prisma/graphql-import/blob/01a4637e03836dab9a56f73719bcaebf5cfd0c37/src/index.ts#L46

Just adding a second SPACE will break the regex

@ardatan
Copy link
Owner

ardatan commented Jan 1, 2020

Hi @orefalo
Thank you for reporting this issue.
PRs are welcome to make this regex more flexible for different cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants