This commit is contained in:
BoHung Chiu 2022-01-26 09:37:27 +08:00
parent 6161a1a004
commit 98d0231d46
1 changed files with 1 additions and 0 deletions

View File

@ -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