File tree 2 files changed +1
-5
lines changed
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ function main(conf) {
35
35
throw new Error ( `invalid encodingType: ${ encodingType } ` ) ;
36
36
}
37
37
38
- makeFile ( runTest ) ;
38
+ makeFile ( ) ;
39
39
}
40
40
41
41
function runTest ( ) {
Original file line number Diff line number Diff line change @@ -290,7 +290,6 @@ const win32 = {
290
290
( code >= 97 /*a*/ && code <= 122 /*z*/ ) ) {
291
291
// Possible device root
292
292
293
- code = path . charCodeAt ( 1 ) ;
294
293
if ( path . charCodeAt ( 1 ) === 58 /*:*/ ) {
295
294
device = path . slice ( 0 , 2 ) ;
296
295
rootEnd = 2 ;
@@ -412,7 +411,6 @@ const win32 = {
412
411
( code >= 97 /*a*/ && code <= 122 /*z*/ ) ) {
413
412
// Possible device root
414
413
415
- code = path . charCodeAt ( 1 ) ;
416
414
if ( path . charCodeAt ( 1 ) === 58 /*:*/ ) {
417
415
device = path . slice ( 0 , 2 ) ;
418
416
rootEnd = 2 ;
@@ -787,7 +785,6 @@ const win32 = {
787
785
( code >= 97 /*a*/ && code <= 122 /*z*/ ) ) {
788
786
// Possible device root
789
787
790
- code = path . charCodeAt ( 1 ) ;
791
788
if ( path . charCodeAt ( 1 ) === 58 /*:*/ ) {
792
789
rootEnd = offset = 2 ;
793
790
if ( len > 2 ) {
@@ -1054,7 +1051,6 @@ const win32 = {
1054
1051
( code >= 97 /*a*/ && code <= 122 /*z*/ ) ) {
1055
1052
// Possible device root
1056
1053
1057
- code = path . charCodeAt ( 1 ) ;
1058
1054
if ( path . charCodeAt ( 1 ) === 58 /*:*/ ) {
1059
1055
rootEnd = 2 ;
1060
1056
if ( len > 2 ) {
You can’t perform that action at this time.
0 commit comments