File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,12 @@ function getWorkloads() {
3636 }
3737 }
3838 if ( skippedWorkloads . size > 0 ) {
39- logWarn ( "Skipping the following excluded workloads:\n" + Array . from ( skippedWorkloads ) . map ( w => ` - ${ w } ` ) . join ( "\n" ) ) ;
39+ logWarn (
40+ `Skipping the following excluded workloads:\n${
41+ Array . from ( skippedWorkloads )
42+ . map ( ( w ) => ` - ${ w } ` )
43+ . join ( "\n" ) } `
44+ ) ;
4045 }
4146 return Array . from ( workloads ) ;
4247}
@@ -68,7 +73,7 @@ async function buildWorkloads(workloads) {
6873 console . log ( "================================================================================\n" ) ;
6974
7075 if ( failedWorkloads . length > 0 ) {
71- logError ( " Failed Workloads:\n" + failedWorkloads . map ( w => ` - ${ w } ` ) . join ( "\n" ) ) ;
76+ logError ( ` Failed Workloads:\n${ failedWorkloads . map ( ( w ) => ` - ${ w } ` ) . join ( "\n" ) } ` ) ;
7277
7378 process . exit ( 1 ) ;
7479 }
Original file line number Diff line number Diff line change 1+ export const EXCLUDES = new Set ( [
2+ // TODO: Re-enable once packages are updated and node 22 is supported
3+ "suites/todomvc/architecture-examples/vue" ,
4+ "suites/todomvc/architecture-examples/vue-complex" ,
5+ "suites/newssite/news-nuxt" ,
6+ "suites/react-stockcharts" ,
7+ ] ) ;
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ export function logInfo(...args) {
2121
2222export function logWarn ( ...args ) {
2323 const text = args . join ( " " ) ;
24- if ( GITHUB_ACTIONS_OUTPUT ) {
24+ if ( GITHUB_ACTIONS_OUTPUT )
2525 console . warn ( `::warning::${ text . replace ( / \n / g, "%0A" ) } ` ) ;
26- } else {
26+ else
2727 console . warn ( styleText ( "magenta" , text ) ) ;
28- }
28+
2929}
3030
3131export function logError ( ...args ) {
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ for (const [name, suites] of Object.entries(Suites)) {
7272 const baseUrl = isNode ? new URL ( "../../" , import . meta. url ) . href : `${ window . location . origin } /` ;
7373 const brokenResourcesList = [ ] ;
7474 for ( const suite of suites ) {
75- const isExcluded = [ ...EXCLUDES ] . some ( ( excludePath ) => suite . url . startsWith ( excludePath + "/" ) || suite . url === excludePath ) ;
75+ const isExcluded = [ ...EXCLUDES ] . some ( ( excludePath ) => suite . url . startsWith ( ` ${ excludePath } /` ) || suite . url === excludePath ) ;
7676 if ( isExcluded ) {
7777 console . warn ( ` ⚠ Skipping resources check for excluded suite: ${ suite . name } ` ) ;
7878 continue ;
You can’t perform that action at this time.
0 commit comments