File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,20 @@ function globber(paths) {
77 files . fileEvents = [ ] ;
88
99 const Glob = glob . Glob ;
10+ let doneCount = 0 ;
1011
1112 paths . forEach ( function ( path ) {
13+ console . log ( "Rampaging " + path ) ;
1214 const fileEvents = new Glob ( path ) ;
1315
1416 fileEvents . on ( 'match' , function ( file ) {
1517 files . onNext ( file ) ;
1618 } ) ;
1719
1820 fileEvents . on ( 'end' , function ( ) {
19- files . onCompleted ( ) ;
21+ if ( ++ doneCount === paths . length ) {
22+ files . onCompleted ( ) ;
23+ }
2024 } ) ;
2125
2226 files . fileEvents . push ( fileEvents ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " test262-harness" ,
33 "repository" : " bterlson/test262-harness" ,
4- "version" : " 2.0.3 " ,
4+ "version" : " 2.0.4 " ,
55 "description" : " Node-based harness for test262" ,
66 "main" : " index.js" ,
77 "bin" : {
You can’t perform that action at this time.
0 commit comments