mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Add bang to validate_reporters
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
605eea72a5
commit
e0951e9ad0
1 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ module Inspec
|
|||
end
|
||||
end
|
||||
|
||||
def validate_reporters(reporters)
|
||||
def validate_reporters!(reporters)
|
||||
return if reporters.nil?
|
||||
# TODO: move this into a reporter plugin type system
|
||||
valid_types = [
|
||||
|
@ -326,7 +326,7 @@ module Inspec
|
|||
end
|
||||
end
|
||||
|
||||
validate_reporters(options['reporter'])
|
||||
validate_reporters!(options['reporter'])
|
||||
options
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue