update let to const

This commit is contained in:
Peter Clement 2023-05-30 14:26:49 +01:00
parent 5a7f0ba586
commit 0a91e5bed1
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ const CRON_STEP_ID = triggerDefs.CRON.stepId
const STOPPED_STATUS = { success: true, status: AutomationStatus.STOPPED }
function getLoopIterations(loopStep: LoopStep) {
let binding = loopStep.inputs.binding
const binding = loopStep.inputs.binding
if (!binding) {
return 0
}