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

Added path normalization for file filter #1864

Merged
merged 2 commits into from
Jul 26, 2017

Conversation

Metaur
Copy link
Contributor

@Metaur Metaur commented Jul 26, 2017

The problem occurs on Windows, when the project files are extracted in local drive root.
That way, the src argument may become 'Z:' (drive path), which will lead to filtering out all node modules, because of taking incorrect start index in substring (it.substring(src.length + 1)).

@develar develar merged commit 82c8905 into electron-userland:master Jul 26, 2017
@develar
Copy link
Member

develar commented Jul 26, 2017

Thanks!

@develar
Copy link
Member

develar commented Jul 26, 2017

19.17.0

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.

2 participants