File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 22 Helper Modules
33*/
44var url = require ( 'url' ) ;
5- var path = require ( 'path' ) ;
65
76/*
87 Utils
98*/
109var transformationUtils = require ( '../../utils/transformation' ) ;
10+ // var path = require('../../utils/path-join');
1111
1212/*
1313 Variables
@@ -56,10 +56,9 @@ module.exports.buildURL = function(opts) {
5656 if ( transformationUtils . addAsQueryParameter ( opts ) || isSrcParameterUsedForURL ) {
5757 queryParameters . append ( TRANSFORMATION_PARAMETER , transformationString ) ;
5858 } else {
59- urlObject . pathname = path . join (
60- [ TRANSFORMATION_PARAMETER , transformationString ] . join ( transformationUtils . getChainTransformDelimiter ( ) ) ,
61- urlObject . pathname
62- )
59+ urlObject . pathname = [ TRANSFORMATION_PARAMETER , transformationString ] . join ( transformationUtils . getChainTransformDelimiter ( ) )
60+ + '/'
61+ + urlObject . pathname
6362 }
6463 }
6564
You can’t perform that action at this time.
0 commit comments