Fix unmatched quotes error

This commit is contained in:
Alex Scown
2022-01-09 14:29:39 +00:00
parent 10a2f535eb
commit 63100a5592

View File

@@ -32,7 +32,7 @@ def input(prompt)
next_string.chomp!('"')
else
# No close quote Vintage Basic crashes in this case
raise ArgumentError('Unmatched quotes in input')
raise 'Unmatched quotes in input'
end
elsif scanner.exist?(/,/)
next_string = scanner.scan_until(/,/).chomp(',')