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 ;
@@ -788,7 +786,6 @@ const win32 = {
788
786
( code >= 97 /*a*/ && code <= 122 /*z*/ ) ) {
789
787
// Possible device root
790
788
791
- code = path . charCodeAt ( 1 ) ;
792
789
if ( path . charCodeAt ( 1 ) === 58 /*:*/ ) {
793
790
rootEnd = offset = 2 ;
794
791
if ( len > 2 ) {
@@ -1056,7 +1053,6 @@ const win32 = {
1056
1053
( code >= 97 /*a*/ && code <= 122 /*z*/ ) ) {
1057
1054
// Possible device root
1058
1055
1059
- code = path . charCodeAt ( 1 ) ;
1060
1056
if ( path . charCodeAt ( 1 ) === 58 /*:*/ ) {
1061
1057
rootEnd = 2 ;
1062
1058
if ( len > 2 ) {
You can’t perform that action at this time.
0 commit comments