Skip to content

CLI: When on Windows, print Windows path separator \ instead - #835

Merged
vendethiel merged 1 commit into
gkz:masterfrom
summivox:fix-cli-path-sep
Feb 1, 2016
Merged

CLI: When on Windows, print Windows path separator \ instead#835
vendethiel merged 1 commit into
gkz:masterfrom
summivox:fix-cli-path-sep

Conversation

@summivox

Copy link
Copy Markdown
Contributor

reason: consistency; passing test

@vendethiel

Copy link
Copy Markdown
Contributor

Breaks the build

@summivox

Copy link
Copy Markdown
Contributor Author

Ah damn. It seems that I have used APIs available only in the newer Node versions, namely path.posix.join.

Question: Would you fix the test to include windows separator \, or make CLI output / ?

@summivox

summivox commented Feb 1, 2016

Copy link
Copy Markdown
Contributor Author

@vendethiel : phew, now it passes even on node v0.10.x. Shouldn't have taken new Node APIs for granted ;)

@summivox summivox changed the title always use POSIX path sep / even under Windows Feb 1, 2016
vendethiel added a commit that referenced this pull request Feb 1, 2016
CLI: When on Windows, print Windows path separator `\` instead
@vendethiel
vendethiel merged commit 9127329 into gkz:master Feb 1, 2016
@vendethiel

Copy link
Copy Markdown
Contributor

Thanks!

@summivox
summivox deleted the fix-cli-path-sep branch February 8, 2016 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants