Skip to content

Conversation

@petar-iv
Copy link

@petar-iv petar-iv commented Nov 9, 2017

Hi,

This is more of a cosmetic improvement.
Currently, if one executes node test\test.js the output would look like the following:

C:\git-repos\node-diveSync/diveSync.js
C:\git-repos\node-diveSync/node_modules/append/append.js
C:\git-repos\node-diveSync/test/test.js

The path separator used (after the directory passed to the function) is always a forward slash which results in mixing back- and forward slashes on Windows.
With this change the output would look like the following:

C:\git-repos\node-diveSync\diveSync.js
C:\git-repos\node-diveSync\node_modules\append\append.js
C:\git-repos\node-diveSync\test\test.js

Thanks for having a look at this PR.

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