File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function main(conf) {
33
33
throw new Error ( 'invalid type' ) ;
34
34
}
35
35
36
- makeFile ( runTest ) ;
36
+ makeFile ( ) ;
37
37
}
38
38
39
39
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 ;
@@ -790,7 +788,6 @@ const win32 = {
790
788
( code >= 97 /*a*/ && code <= 122 /*z*/ ) ) {
791
789
// Possible device root
792
790
793
- code = path . charCodeAt ( 1 ) ;
794
791
if ( path . charCodeAt ( 1 ) === 58 /*:*/ ) {
795
792
rootEnd = offset = 2 ;
796
793
if ( len > 2 ) {
@@ -1057,7 +1054,6 @@ const win32 = {
1057
1054
( code >= 97 /*a*/ && code <= 122 /*z*/ ) ) {
1058
1055
// Possible device root
1059
1056
1060
- code = path . charCodeAt ( 1 ) ;
1061
1057
if ( path . charCodeAt ( 1 ) === 58 /*:*/ ) {
1062
1058
rootEnd = 2 ;
1063
1059
if ( len > 2 ) {
You can’t perform that action at this time.
0 commit comments