@@ -22,10 +22,10 @@ function runBuild() {
2222
2323 const inputs = githubInputs ( ) ;
2424
25- const config = ( ( { updateInterval, updateBackOff, hideCloudwatchLogs } ) => ( {
25+ const config = ( ( { updateInterval, updateBackOff, hideCloudWatchLogs } ) => ( {
2626 updateInterval,
2727 updateBackOff,
28- hideCloudwatchLogs ,
28+ hideCloudWatchLogs ,
2929 } ) ) ( inputs ) ;
3030
3131 // Get input options for startBuild
@@ -45,7 +45,7 @@ async function build(sdk, params, config) {
4545async function waitForBuildEndTime (
4646 sdk ,
4747 { id, logs } ,
48- { updateInterval, updateBackOff, hideCloudwatchLogs } ,
48+ { updateInterval, updateBackOff, hideCloudWatchLogs } ,
4949 seqEmptyLogs ,
5050 totalEvents ,
5151 throttleCount ,
@@ -66,9 +66,9 @@ async function waitForBuildEndTime(
6666 // Check the state
6767 const [ batch , cloudWatch = { } ] = await Promise . all ( [
6868 codeBuild . batchGetBuilds ( { ids : [ id ] } ) . promise ( ) ,
69- ! hideCloudwatchLogs &&
69+ ! hideCloudWatchLogs &&
7070 logGroupName &&
71- cloudWatchLogs // only make the call if hideCloudwatchLogs is not enabled and a logGroupName exists
71+ cloudWatchLogs // only make the call if hideCloudWatchLogs is not enabled and a logGroupName exists
7272 . getLogEvents ( {
7373 logGroupName,
7474 logStreamName,
@@ -155,7 +155,7 @@ async function waitForBuildEndTime(
155155 return waitForBuildEndTime (
156156 sdk ,
157157 current ,
158- { updateInterval, updateBackOff, hideCloudwatchLogs } ,
158+ { updateInterval, updateBackOff, hideCloudWatchLogs } ,
159159 seqEmptyLogs ,
160160 totalEvents ,
161161 throttleCount ,
@@ -210,8 +210,8 @@ function githubInputs() {
210210 10
211211 ) * 1000 ;
212212
213- const hideCloudwatchLogs =
214- core . getInput ( "hide-cloudwatch-logs" , { required : false } ) || undefined ;
213+ const hideCloudWatchLogs =
214+ core . getInput ( "hide-cloudwatch-logs" , { required : false } ) === "true" ;
215215
216216 return {
217217 projectName,
@@ -226,7 +226,7 @@ function githubInputs() {
226226 updateInterval,
227227 updateBackOff,
228228 disableSourceOverride,
229- hideCloudwatchLogs ,
229+ hideCloudWatchLogs ,
230230 } ;
231231}
232232
0 commit comments