mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
bugfix: allow json/check methods to run despite only_if in profile
Signed-off-by: Dominik Richter <dominik@vulcanosec.com>
This commit is contained in:
parent
cb3e067a1f
commit
8294641b1e
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ module Vulcano
|
|||
@errors = []
|
||||
end
|
||||
|
||||
def only_if *a, &b
|
||||
# always ignore
|
||||
end
|
||||
|
||||
# DSL methods
|
||||
def __register_rule r
|
||||
fid = VulcanoBaseRule.full_id r, @profile_id
|
||||
|
|
Loading…
Reference in a new issue