mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +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
|
end
|
||||||
|
|
||||||
def all_unique_controls
|
def all_unique_controls
|
||||||
@unique_controls ||= begin
|
@unique_controls ||= begin # rubocop:disable Style/RedundantBegin
|
||||||
run_data[:profiles].flat_map do |profile|
|
run_data[:profiles].flat_map do |profile|
|
||||||
profile[:controls]
|
profile[:controls]
|
||||||
end.uniq
|
end.uniq
|
||||||
|
|
Loading…
Reference in a new issue