mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Disable rubocop for begin block
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
parent
edf8d4d7ed
commit
a2d3218536
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ module Inspec::Reporters
|
|||
end
|
||||
|
||||
def all_unique_controls
|
||||
@unique_controls ||= begin
|
||||
@unique_controls ||= begin # rubocop:disable Style/RedundantBegin
|
||||
run_data[:profiles].flat_map do |profile|
|
||||
profile[:controls]
|
||||
end.uniq
|
||||
|
|
Loading…
Reference in a new issue