Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Path fix for windows - leading slash
Looks like there is some junk with Windows paths. To put it simply, the following call is an Identity operation under Linux, but leaves a leading slash under Windows: url.parse( url.format( { pathname: path.join(process.cwd(), 'got_access_token.html'), protocol: 'elif:', slashes: true } )).pathname On windows you get '/E:/some/path/...' - note the leading slash. Some discussions here: nodejs/node#10703 nodejs/node#10739 Dunno! I just fixed it by hand.
- Loading branch information