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 @@ -269,7 +269,6 @@ const win32 = {
269
269
( code >= 97 /*a*/ && code <= 122 /*z*/ ) ) {
270
270
// Possible device root
271
271
272
- code = path . charCodeAt ( 1 ) ;
273
272
if ( path . charCodeAt ( 1 ) === 58 /*:*/ ) {
274
273
device = path . slice ( 0 , 2 ) ;
275
274
rootEnd = 2 ;
@@ -391,7 +390,6 @@ const win32 = {
391
390
( code >= 97 /*a*/ && code <= 122 /*z*/ ) ) {
392
391
// Possible device root
393
392
394
- code = path . charCodeAt ( 1 ) ;
395
393
if ( path . charCodeAt ( 1 ) === 58 /*:*/ ) {
396
394
device = path . slice ( 0 , 2 ) ;
397
395
rootEnd = 2 ;
@@ -769,7 +767,6 @@ const win32 = {
769
767
( code >= 97 /*a*/ && code <= 122 /*z*/ ) ) {
770
768
// Possible device root
771
769
772
- code = path . charCodeAt ( 1 ) ;
773
770
if ( path . charCodeAt ( 1 ) === 58 /*:*/ ) {
774
771
rootEnd = offset = 2 ;
775
772
if ( len > 2 ) {
@@ -1037,7 +1034,6 @@ const win32 = {
1037
1034
( code >= 97 /*a*/ && code <= 122 /*z*/ ) ) {
1038
1035
// Possible device root
1039
1036
1040
- code = path . charCodeAt ( 1 ) ;
1041
1037
if ( path . charCodeAt ( 1 ) === 58 /*:*/ ) {
1042
1038
rootEnd = 2 ;
1043
1039
if ( len > 2 ) {
You can’t perform that action at this time.
0 commit comments