mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
L #-: rubocop 0.90.0
This commit is contained in:
27 files changed
+140
-165
No files matched your search
@@ -532,7 +532,7 @@ module CLIHelper
|
||||
# @param data [Array] Array with data to show
|
||||
# @param del [Char] CSV delimiter
|
||||
def print_csv_data(data, del)
|
||||
del ? del = del : del = ','
|
||||
del ||= ','
|
||||
|
||||
data.each do |l|
|
||||
result = []
|
||||
@@ -599,9 +599,7 @@ module CLIHelper
|
||||
end
|
||||
end
|
||||
|
||||
if options
|
||||
filter_data!(res_data, options) if options[:filter]
|
||||
end
|
||||
filter_data!(res_data, options) if options && options[:filter]
|
||||
|
||||
res_data
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user