rubocop sucks

This commit is contained in:
Eric Putnam 2018-02-09 15:22:51 -08:00
parent f6cd3ff4a8
commit 8a34dc7ea4
No known key found for this signature in database
GPG Key ID: 3FB595AA224A7751
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ module PuppetStrings::Markdown
def options_for_param(parameter_name) def options_for_param(parameter_name)
opts_for_p = options.select { |o| o[:parent] == parameter_name } unless options.nil? opts_for_p = options.select { |o| o[:parent] == parameter_name } unless options.nil?
opts_for_p unless opts_for_p.nil? || opts_for_p.length == 0 opts_for_p unless opts_for_p.nil? || opts_for_p.length.zero?
end end
# @return [Array] any defaults found for the component # @return [Array] any defaults found for the component