mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
rubocop
Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
parent
0b9833dd96
commit
046d4567ae
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ module Inspec
|
|||
# return all telemetry options from config
|
||||
# @return [Hash]
|
||||
def telemetry_options
|
||||
final_options.select { |key,_| key.include?('telemetry') }
|
||||
final_options.select { |key, _| key.include?('telemetry') }
|
||||
end
|
||||
|
||||
#-----------------------------------------------------------------------#
|
||||
|
|
|
@ -29,7 +29,7 @@ module Inspec::Telemetry
|
|||
# telemetry, if not default to false.
|
||||
# @return [True, False]
|
||||
def telemetry_enabled?
|
||||
config_telemetry_options.fetch("enable_telemetry", false)
|
||||
config_telemetry_options.fetch('enable_telemetry', false)
|
||||
end
|
||||
|
||||
# A way to disable the telemetry system.
|
||||
|
|
Loading…
Reference in a new issue