Fix a bug when the unbalanced quote is the end

master
Spencer McIntyre 2019-04-24 14:02:18 -04:00
parent 2a0e3690db
commit dfa37a9fb0
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,7 @@ module DispatcherShell
field = String.new field = String.new
end end
end end
words << field if field.length.nonzero? words << field unless quote.nil?
{:quote => quote, :words => words} {:quote => quote, :words => words}
end end