Skip to content

Fix absolute output path - #15

Open
sclu1034 wants to merge 1 commit into
arnauddri:masterfrom
sclu1034:master
Open

Fix absolute output path#15
sclu1034 wants to merge 1 commit into
arnauddri:masterfrom
sclu1034:master

Conversation

@sclu1034

Copy link
Copy Markdown

Absolute paths in the CLI were treated as relative paths when passing
them to path.join which made it impossible to use paths like /tmp as
it was converted to $(pwd)/tmp.
path.resolve also turns relative paths into absolute ones but does not
change path that already are absolute.

Absolute paths in the CLI were treated as relative paths when passing
them to `path.join` which made it impossible to use paths like `/tmp` as
it was converted to `$(pwd)/tmp`.
`path.resolve` also turns relative paths into absolute ones but does not
change path that already are absolute.
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.

1 participant