mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-12 01:07:09 +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
|
if $? && $?.exitstatus != 0 # NOTE: $? will be nil on CircleCI, so check $? at first
|
||||||
raise GemError, "failed command: `#{gem} list`"
|
raise GemError, "failed command: `#{gem} list`"
|
||||||
end
|
end
|
||||||
output.lines
|
output.lines.to_a
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user