Skip to content

fix(exec): join paths correctly #975

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

Merged
merged 1 commit into from
Oct 29, 2019
Merged

fix(exec): join paths correctly #975

merged 1 commit into from
Oct 29, 2019

Conversation

nfischer
Copy link
Member

Previously, we just concatenated _tempDir() with '/' and a random
filename. Instead, we should join paths with path.join() to use the OS
path separator.

This is a speculative fix for issue #974, although this may not be
enough to actually make Windows happy.

Issue #974

Previously, we just concatenated _tempDir() with '/' and a random
filename. Instead, we should join paths with path.join() to use the OS
path separator.

This is a speculative fix for issue #974, although this may not be
enough to actually make Windows happy.

Issue #974
@codecov-io
Copy link

codecov-io commented Oct 29, 2019

Codecov Report

Merging #975 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #975   +/-   ##
=======================================
  Coverage   97.14%   97.14%           
=======================================
  Files          34       34           
  Lines        1298     1298           
=======================================
  Hits         1261     1261           
  Misses         37       37
Impacted Files Coverage Δ
src/exec.js 94.87% <100%> (ø) ⬆️

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 05374a7...0f1481b. Read the comment docs.

@nfischer nfischer merged commit 12b8c48 into master Oct 29, 2019
@nfischer nfischer deleted the exec-join-paths branch October 29, 2019 08:35
@nfischer nfischer added this to the v0.9.0 milestone Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exec Issues specific to the shell.exec() API Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants