mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-11 16:57:11 +02:00
Fix to avoid pass Enumerator to Rails.cache.fetch
when no data exists
This commit is contained in:
parent
46a4ef60c2
commit
c821c65da0
@ -21,7 +21,7 @@ module FluentGem
|
||||
if $? && $?.exitstatus != 0 # NOTE: $? will be nil on CircleCI, so check $? at first
|
||||
raise GemError, "failed command: `#{gem} list`"
|
||||
end
|
||||
output.lines
|
||||
output.lines.to_a
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user