Fix bug.
This commit is contained in:
parent
6161a1a004
commit
98d0231d46
|
@ -219,6 +219,7 @@ namespace :exec_commands do
|
|||
end
|
||||
end
|
||||
new_arr = output_lines[1..-1]
|
||||
new_arr = [] if new_arr.nil?
|
||||
if data_str[-1] == "\n"
|
||||
new_arr << ""
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue