Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! path: remove dead code
  • Loading branch information
BridgeAR committed Mar 27, 2019
commit ab58b0dc4041a06a3d97a315985d366d2e4c8a1d
2 changes: 1 addition & 1 deletion lib/path.js
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ const posix = {
if (from === to)
return '';

// Trim any leading backslashes
// Trim leading forward slashes.
from = posix.resolve(from);
to = posix.resolve(to);

Expand Down