@@ -43,9 +43,7 @@ if (process.env.CI) {
43
43
}
44
44
45
45
const files = stdout . split ( "\n" ) ;
46
-
47
46
const dirs = files . map ( ( f ) => f . split ( "/" ) . at ( 0 ) ) ;
48
-
49
47
examples = [ ...new Set ( dirs ) ] . filter ( ( d ) => ! TO_IGNORE . has ( d ) ) ;
50
48
} else {
51
49
const entries = await fse . readdir ( process . cwd ( ) , { withFileTypes : true } ) ;
@@ -60,10 +58,6 @@ const list = new Intl.ListFormat("en", { style: "long", type: "conjunction" });
60
58
61
59
console . log ( `Testing changed examples: ${ list . format ( examples ) } ` ) ;
62
60
63
- if ( examples . length === 0 ) {
64
- return ;
65
- }
66
-
67
61
for ( const example of examples ) {
68
62
const pkgJson = await PackageJson . load ( example ) ;
69
63
@@ -143,7 +137,6 @@ for (const example of examples) {
143
137
}
144
138
145
139
installQueue . start ( ) ;
146
- installQueue . on ( "error" , ( error ) => console . error ( "🚨" , error ) ) ;
147
140
148
141
installQueue . on ( "empty" , ( ) => {
149
142
console . log ( `installQueue is complete, moving on to buildQueue` ) ;
@@ -155,6 +148,6 @@ buildQueue.on("empty", () => {
155
148
return typecheckQueue . start ( ) ;
156
149
} ) ;
157
150
151
+ installQueue . on ( "error" , ( error ) => console . error ( "🚨" , error ) ) ;
158
152
buildQueue . on ( "error" , ( error ) => console . error ( "🚨" , error ) ) ;
159
-
160
153
typecheckQueue . on ( "error" , ( error ) => console . error ( "🚨" , error ) ) ;
0 commit comments