Skip to content
Snippets Groups Projects
Commit 990c6168 authored by Dominic Couture's avatar Dominic Couture 🌴
Browse files

Ensure timeout is a number

parent 47b473e4
No related branches found
No related tags found
1 merge request!35Ensure timeout is a number
Pipeline #421415268 passed
......@@ -42,7 +42,7 @@ module GitHub
end
def timeout_in_seconds
ENV.fetch('GITLAB_MARKUP_TIMEOUT', DEFAULT_GITLAB_MARKUP_TIMEOUT)
ENV.fetch('GITLAB_MARKUP_TIMEOUT', DEFAULT_GITLAB_MARKUP_TIMEOUT).to_i
end
def prepend_command_timeout_prefix(command)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment