File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -670,7 +670,7 @@ var pathModule = createInternalModule("path", function (exports) {
670
670
return exports . normalize ( Array . prototype . join . call ( arguments , "/" ) ) ;
671
671
} ;
672
672
673
- function normalizeArray ( parts ) {
673
+ exports . normalizeArray = function ( parts ) {
674
674
var directories = [ ] ;
675
675
for ( var i = 0 ; i < parts . length ; i ++ ) {
676
676
var directory = parts [ i ] ;
@@ -688,10 +688,10 @@ var pathModule = createInternalModule("path", function (exports) {
688
688
}
689
689
}
690
690
return directories ;
691
- }
691
+ } ;
692
692
693
693
exports . normalize = function ( path ) {
694
- return normalizeArray ( path . split ( "/" ) ) . join ( "/" ) ;
694
+ return exports . normalizeArray ( path . split ( "/" ) ) . join ( "/" ) ;
695
695
} ;
696
696
697
697
exports . dirname = function ( path ) {
You can’t perform that action at this time.
0 commit comments