File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4209,7 +4209,7 @@ async function checkStackQL () {
42094209 core . setOutput ( 'stderr' , stderr . contents ) ;
42104210 core . setOutput ( 'exitcode' , exitCode . toString ( 10 ) ) ;
42114211
4212- if ( exitCode === 0 || exitCode === 2 || ! stderr . contents ) {
4212+ if ( ( exitCode === 0 || exitCode === 2 ) && ! stderr . contents ) {
42134213 // A exitCode of 0 is considered a success
42144214 // An exitCode of 2 may be returned when the '-detailed-exitcode' option
42154215 // is passed to plan. This denotes Success with non-empty
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ async function checkStackQL () {
3131 ignoreReturnCode : true
3232 } ;
3333 const exitCode = await exec ( pathToCLI , args , options ) ;
34- console . log ( `StackQL exited with code ${ exitCode } .` ) ;
35- console . log ( `stdout: ${ stdout . contents } ` ) ;
34+ core . debug ( `StackQL exited with code ${ exitCode } .` ) ;
35+ core . debug ( `stdout: ${ stdout . contents } ` ) ;
3636 console . log ( `stderr: ${ stderr . contents } ` ) ;
37- console . log ( `exitcode: ${ exitCode } ` ) ;
37+ core . debug ( `exitcode: ${ exitCode } ` ) ;
3838
3939 // Set outputs, result, exitcode, and stderr
4040 core . setOutput ( 'stdout' , stdout . contents ) ;
You can’t perform that action at this time.
0 commit comments