L #-: rubocop 0.90.0

This commit is contained in:
Tino Vazquez committed 2020-09-08 19:48:05 +02:00
1 parent 993284eb97
commit 315ede85fc
27 files changed
+140 -165

No files matched your search

+2 -4
View File
@@ -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