Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update src/internal/deployment.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
  • Loading branch information
2 people authored and GitHub committed May 12, 2023
1 parent 3e2c26d commit dcb366c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/deployment.js
Expand Up @@ -55,7 +55,7 @@ class Deployment {
}

let timeoutInput = Number(core.getInput('timeout'))
this.timeout = timeoutInput <= 0 ? maxTimeout : Math.min(timeoutInput, maxTimeout)
this.timeout = (!timeoutInput || timeoutInput <= 0) ? maxTimeout : Math.min(timeoutInput, maxTimeout)

try {
core.debug(`Actor: ${this.buildActor}`)
Expand Down

0 comments on commit dcb366c

Please sign in to comment.