Skip to content

Instantly share code, notes, and snippets.

@Trott
Last active October 11, 2018 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Trott/61c883d70e2c3cd587566198a53bc485 to your computer and use it in GitHub Desktop.
Save Trott/61c883d70e2c3cd587566198a53bc485 to your computer and use it in GitHub Desktop.
absolute
$ nvm use 8.11.3
Now using node v8.11.3 (npm v5.6.0)
$ node
> path.win32.resolve('D:\\work\repl', '/SOME_SOMEELSE_2018-10-11T00-37-36.html') 
'D:\\SOME_SOMEELSE_2018-10-11T00-37-36.html'
> path.win32.resolve('D:\\work\\repl', 'SOME_SOMEELSE_2018-10-11T00-37-36.html') 
'D:\\work\\repl\\SOME_SOMEELSE_2018-10-11T00-37-36.html'
> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment