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 paths in webpack-plugin for Windows environment #299

Merged
merged 2 commits into from
Oct 18, 2017
Merged

Fix paths in webpack-plugin for Windows environment #299

merged 2 commits into from
Oct 18, 2017

Conversation

ma2ciek
Copy link
Contributor

@ma2ciek ma2ciek commented Oct 16, 2017

Suggested merge commit message (convention)

Fix: Fixed paths in webpack-plugin for Windows environment. Closes #297.

@ma2ciek ma2ciek changed the title Fixed RegExps for Windows. Fix paths in webpack-plugin for the Windows environment Oct 16, 2017
@ma2ciek ma2ciek changed the title Fix paths in webpack-plugin for the Windows environment Fix paths in webpack-plugin for Windows environment Oct 16, 2017
@pomek
Copy link
Member

pomek commented Oct 16, 2017

Are we able to provide at least single test for a Windows and Unix paths?

@ma2ciek
Copy link
Contributor Author

ma2ciek commented Oct 16, 2017

Do you mean unit tests? I can export those function with an underscore and test them whether their Regexps are correct.

@pomek
Copy link
Member

pomek commented Oct 18, 2017

Should be fine.

@ma2ciek
Copy link
Contributor Author

ma2ciek commented Oct 18, 2017

I added tests for the RegExps only as these are the most vulnerable places for that PR. Whole functions are Webpack-dependent and shouldn't be tested by unit tests IMO.

@ma2ciek ma2ciek requested a review from pomek October 18, 2017 08:16
Copy link
Member

@pomek pomek left a comment

Choose a reason for hiding this comment

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

LGTM.

@pomek pomek merged commit 7e61a1f into master Oct 18, 2017
@pomek pomek deleted the t/297 branch October 18, 2017 08:30
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