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(ConfigFile): Normalize globbed file paths #135

Merged
merged 1 commit into from
Mar 15, 2020

Conversation

raphinesse
Copy link
Contributor

Glob always returns paths with forward slashes. This change ensures that a config file path obtained from a glob pattern will use the platform-specific path segment separator.

In preparation of merging #124.

@raphinesse raphinesse requested a review from erisu March 14, 2020 16:30
@raphinesse raphinesse force-pushed the config-file-normalize-glob-paths branch from cff6ac3 to d8e0ea4 Compare March 14, 2020 16:33
@codecov-io
Copy link

codecov-io commented Mar 14, 2020

Codecov Report

Merging #135 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #135      +/-   ##
==========================================
+ Coverage   88.04%   88.05%   +0.01%     
==========================================
  Files          20       20              
  Lines        1171     1172       +1     
==========================================
+ Hits         1031     1032       +1     
  Misses        140      140
Impacted Files Coverage Δ
src/ConfigChanges/ConfigFile.js 90.09% <100%> (+0.09%) ⬆️

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 fe6a73f...d8e0ea4. Read the comment docs.

@erisu erisu merged commit 406e1a2 into apache:master Mar 15, 2020
@raphinesse raphinesse deleted the config-file-normalize-glob-paths branch March 15, 2020 02:58
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