mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-19 13:31:03 +02:00
Merge pull request #136 from fluent/fix_type_error_on_fluent_gem_list_method
Fix to avoid pass Enumerator to Rails.cache.fetch
This commit is contained in:
commit
b3290456f0
@ -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…
x
Reference in New Issue
Block a user