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

Ensure 'import' regex parsing works with single-quotes. #19

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Ensure 'import' regex parsing works with single-quotes. #19

wants to merge 1 commit into from

Conversation

srazzaque
Copy link

A lot of whitespace change here due to the wrapping in try/catch - best to review with ignoring whitespace.

Users who prefer single-quote import statements will get a nasty Exception with very little clue how to fix it in 0.5.0.

This PR addresses the issue by matching on both ' and " when parsing the imports.

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.

1 participant