Skip to content

Commit 14ff14e

Browse files
author
Kyle Swanson
committed
Comment for replace
1 parent 663f6fe commit 14ff14e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/url/builder.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ module.exports.buildURL = function(opts) {
6565
urlObject.pathname = path.join(
6666
[TRANSFORMATION_PARAMETER, transformationString].join(transformationUtils.getChainTransformDelimiter()),
6767
urlObject.pathname
68+
// Fix for Windows pathnames having backslashes instead of forward slashes.
69+
// TODO: Replace path.join with a different library.
6870
).replace("\\", "/")
6971
}
7072
}

0 commit comments

Comments
 (0)