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

Fix schema path globbing on Windows #408

Merged
merged 1 commit into from
Apr 27, 2021
Merged

Conversation

AleksaC
Copy link
Contributor

@AleksaC AleksaC commented Apr 27, 2021

Fixes #404

The issue is caused by globby not working with windows paths as patterns. More precisely fast-glob which is what globby is based on does not support windows paths as patterns and it seems to be intentional, so I don't think it will change anytime soon. fast-glob recommends replacing \\ with / so I did that and it worked.

Copy link
Collaborator

@bboure bboure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank for a new contrib!

Would you mind fixing this in https://github.com/bboure/serverless-appsync-simulator too?

@AleksaC
Copy link
Contributor Author

AleksaC commented Apr 27, 2021

Seems very similar at first glance, so I should be able to do it

@bboure bboure merged commit b507cfe into sid88in:master Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to deploy on windows - Schema Creation Status is FAILED
2 participants