Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2021-03-29 21:48:41 -04:00
parent 37ffdd27cb
commit 81305d3270

View file

@ -32,7 +32,7 @@ module Inspec::Resources
@command = cmd @command = cmd
cli_timeout = Inspec::Config.cached['command_timeout'].to_i cli_timeout = Inspec::Config.cached["command_timeout"].to_i
# Can access this via Inspec::InspecCLI.commands["exec"].options[:command_timeout].default, # Can access this via Inspec::InspecCLI.commands["exec"].options[:command_timeout].default,
# but that may not be loaded for kitchen-inspec and other pure gem consumers # but that may not be loaded for kitchen-inspec and other pure gem consumers
default_cli_timeout = 3600 default_cli_timeout = 3600