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 2
2
Helper Modules
3
3
*/
4
4
var url = require ( 'url' ) ;
5
- var path = require ( 'path' ) ;
6
5
7
6
/*
8
7
Utils
9
8
*/
10
9
var transformationUtils = require ( '../../utils/transformation' ) ;
10
+ // var path = require('../../utils/path-join');
11
11
12
12
/*
13
13
Variables
@@ -56,10 +56,9 @@ module.exports.buildURL = function(opts) {
56
56
if ( transformationUtils . addAsQueryParameter ( opts ) || isSrcParameterUsedForURL ) {
57
57
queryParameters . append ( TRANSFORMATION_PARAMETER , transformationString ) ;
58
58
} 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
63
62
}
64
63
}
65
64
You can’t perform that action at this time.
0 commit comments