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/windows loader names #85

Closed

Conversation

rjgotten
Copy link

@rjgotten rjgotten commented Jun 13, 2019

Addresses #84

  • Updates loader name extraction regexes to incorporate both forward and backward slashes for *nix and Windows file-system path conventions.
  • For consistent presentation normalizes back-slashes remaining in the loader name when scoped packages are extracted from Windows file-system paths, to forward slashes.

Also; consistently applies the fix for scoped packages, which was missing from one of the regexes.

Updates regex to match forward and backward slashes (*nix and Windows convention) and normalizes Windows file-system backslashes to forward slashes.
Updates regex to match forward and backward slashes (*nix and Windows convention) and normalizes Windows file-system backslashes to forward slashes.
@stephencookdev
Copy link
Owner

Thanks for raising this PR :) This looks really good - I'll try and release this later today

@rjgotten
Copy link
Author

You're welcome. :)

@stephencookdev
Copy link
Owner

Thanks so much for this PR @rjgotten! Sorry for the huge delay in actually getting round to this 😫

I was actually testing this today, and it looks like it has a few syntax issues with the regex... I've got a similar fix, though, in efda81b, which will be going out shortly 🙂

I'll close this for now — but thanks again for the PR!

@rjgotten rjgotten deleted the fix/windows-loader-names branch March 23, 2020 11:04
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.

None yet

2 participants