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 folder pattern #36

Merged
merged 1 commit into from
Nov 7, 2020
Merged

Fix folder pattern #36

merged 1 commit into from
Nov 7, 2020

Conversation

jsg2021
Copy link
Contributor

@jsg2021 jsg2021 commented Nov 4, 2020

Paths computed from node's path modules often do not end in with a slash, this replacement fails if there is no slash... which it was not meant to. (we already know the path points to a directory...

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

Keep defaults sane.

Additional Info

@codecov
Copy link

codecov bot commented Nov 4, 2020

Codecov Report

Merging #36 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #36   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          168       168           
  Branches        41        41           
=========================================
  Hits           168       168           
Impacted Files Coverage Δ
src/utils.js 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19b3699...be0090b. Read the comment docs.

@alexander-akait
Copy link
Member

Can you add test?

@jsg2021
Copy link
Contributor Author

jsg2021 commented Nov 4, 2020

sure thing

Paths computed from node's path modules often do not end in with a slash,
this replacement fails if there is no slash... which it was not meant to.
(we already know the path points to a directory...
@ricardogobbosouza ricardogobbosouza merged commit e79741e into webpack-contrib:master Nov 7, 2020
@jsg2021 jsg2021 deleted the patch-1 branch November 7, 2020 17:26
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.

3 participants