mirror of
https://github.com/inspec/inspec
synced 2024-11-14 00:47:10 +00:00
Fix skip hash being passed instead of boolean value (#3323)
Fixes: https://github.com/inspec/inspec/issues/3322 Signed-off-by: Noel Georgi <git@frezbo.com>
This commit is contained in:
parent
74525d82bc
commit
741ad8a2fb
1 changed files with 2 additions and 1 deletions
|
@ -227,7 +227,8 @@ module Inspec
|
|||
# all checks that were defined in the destination
|
||||
sc = checks(src)
|
||||
dst.instance_variable_set(:@__checks, sc) unless sc.empty?
|
||||
sr = skip_status(src)
|
||||
# we need only the value of result not the Hash containing value and message
|
||||
sr = skip_status(src)[:result]
|
||||
set_skip_rule(dst, sr) unless sr.nil?
|
||||
|
||||
# Save merge history
|
||||
|
|
Loading…
Reference in a new issue