File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,15 +139,15 @@ async function createClientMatrix(baseBranch: string): Promise<void> {
139139 } ) ;
140140 }
141141
142- const shouldRun = clientMatrix . client . length > 0 ;
143-
144142 const javascriptData = clientMatrix . client . find ( ( c ) => c . language === 'javascript' ) ;
145143 if ( javascriptData ) {
146144 core . setOutput ( 'JAVASCRIPT_DATA' , JSON . stringify ( javascriptData ) ) ;
147145 core . setOutput ( 'RUN_GEN_JAVASCRIPT' , true ) ;
148146 clientMatrix . client = clientMatrix . client . filter ( ( c ) => c . language !== 'javascript' ) ;
149147 }
150148
149+ const shouldRun = clientMatrix . client . length > 0 ;
150+
151151 core . setOutput ( 'RUN_GEN' , shouldRun ) ;
152152 core . setOutput ( 'GEN_MATRIX' , JSON . stringify ( shouldRun ? clientMatrix : EMPTY_MATRIX ) ) ;
153153}
You can’t perform that action at this time.
0 commit comments