Skip to content

Commit

Permalink
fix: fixing max timeout reference
Browse files Browse the repository at this point in the history
  • Loading branch information
JakePartusch committed Jan 7, 2020
1 parent a0de046 commit 0ad6305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const run = async () => {
"Action must be run in conjunction with the `pull_request` event"
);
}
const MAX_TIMEOUT = Number(core.getInput("site_name")) || 60;
const MAX_TIMEOUT = Number(core.getInput("max_timeout")) || 60;
const siteName = core.getInput("site_name");
if (!siteName) {
core.setFailed("Required field `site_name` was not provided");
Expand Down

0 comments on commit 0ad6305

Please sign in to comment.