mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
update rubocop 0.35.1
This commit is contained in:
parent
007594eef7
commit
6cbe3466fb
3 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@ class RegistryKey < Inspec.resource(1)
|
|||
val = registry_value(@reg_key, meth)
|
||||
|
||||
# verify data
|
||||
if (val[:exit_code] == 0)
|
||||
if val[:exit_code] == 0
|
||||
return convert_value(val[:data])
|
||||
else
|
||||
return nil
|
||||
|
|
|
@ -41,7 +41,7 @@ class SecurityPolicy < Inspec.resource(1)
|
|||
|
||||
def method_missing(method)
|
||||
# load data if needed
|
||||
if (@loaded == false)
|
||||
if @loaded == false
|
||||
load
|
||||
end
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ class SimpleConfig
|
|||
start_idx = 2
|
||||
i = 0
|
||||
count = values - 1
|
||||
return match[start_idx] if (values == 1)
|
||||
return match[start_idx] if values == 1
|
||||
|
||||
# iterate over expected parameters
|
||||
values = []
|
||||
|
|
Loading…
Reference in a new issue