Title: path.relative() wrong result in v5.7.0 Windows · Issue #5447 · nodejs/node · GitHub
Open Graph Title: path.relative() wrong result in v5.7.0 Windows · Issue #5447 · nodejs/node
X Title: path.relative() wrong result in v5.7.0 Windows · Issue #5447 · nodejs/node
Description: Version: <= 5.6.0: $ node > process.version 'v5.6.0' > path.relative('C:\\git\\foo\\bootstrap-loader','C:\\git\\foo\\bootstrap') '..\\bootstrap' Version: 5.7.0 $ node > process.version process.version 'v5.7.0' > path.relative('C:\\git\\f...
Open Graph Description: Version: <= 5.6.0: $ node > process.version 'v5.6.0' > path.relative('C:\\git\\foo\\bootstrap-loader','C:\\git\\foo\\bootstrap') '..\\bootstrap' Version: 5.7.0 $ node > process.version process.vers...
X Description: Version: <= 5.6.0: $ node > process.version 'v5.6.0' > path.relative('C:\\git\\foo\\bootstrap-loader','C:\\git\\foo\\bootstrap') '..\\bootstrap' Version: 5....
Opengraph URL: https://github.com/nodejs/node/issues/5447
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"path.relative() wrong result in v5.7.0 Windows","articleBody":"Version: \u003c= 5.6.0:\n\n```\n$ node\n\u003e process.version\n'v5.6.0'\n\u003e path.relative('C:\\\\git\\\\foo\\\\bootstrap-loader','C:\\\\git\\\\foo\\\\bootstrap')\n'..\\\\bootstrap'\n```\n\nVersion: 5.7.0\n\n```\n\n$ node\n\u003e process.version\nprocess.version\n'v5.7.0'\n\u003e path.relative('C:\\\\git\\\\foo\\\\bootstrap-loader','C:\\\\git\\\\foo\\\\bootstrap')\n'..'\n```\n\n'..' needs to be '..\\bootstrap'\n","author":{"url":"https://github.com/frickt","@type":"Person","name":"frickt"},"datePublished":"2016-02-26T05:51:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/5447/node/issues/5447"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:df2b327f-4775-8125-76fb-4ff37b1a0390 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A708:1960:BE272:FEA60:6A4F2440 |
| html-safe-nonce | da048ca653b0527ee4e9d3db7ec516a52f8cfca4f2c21bd3faf48770f7a37f27 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzA4OjE5NjA6QkUyNzI6RkVBNjA6NkE0RjI0NDAiLCJ2aXNpdG9yX2lkIjoiODQ2NzYxODIyNDQ1NTc1NDgxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ed541b3df2e6931632cc4207991b6599ccc71b6ce32b81ec4b2833fc3a71d8fb |
| hovercard-subject-tag | issue:136604702 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/5447/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d40babca992520d787e661e53cb159a192829b78cbb30c650031d188ddce79a1/nodejs/node/issues/5447 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d40babca992520d787e661e53cb159a192829b78cbb30c650031d188ddce79a1/nodejs/node/issues/5447 |
| og:image:alt | Version: <= 5.6.0: $ node > process.version 'v5.6.0' > path.relative('C:\\git\\foo\\bootstrap-loader','C:\\git\\foo\\bootstrap') '..\\bootstrap' Version: 5.7.0 $ node > process.version process.vers... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | frickt |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width