mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Lots of rubocop
This commit is contained in:
@@ -143,13 +143,13 @@ class Interpreter
|
||||
message = pbGetExceptionMessage(e)
|
||||
backtrace_text = ""
|
||||
if e.is_a?(SyntaxError)
|
||||
script.each_line { |line|
|
||||
script.each_line do |line|
|
||||
line.gsub!(/\s+$/, "")
|
||||
if line[/^\s*\(/]
|
||||
message += "\r\n***Line '#{line}' shouldn't begin with '('. Try putting the '('\r\n"
|
||||
message += "at the end of the previous line instead, or using 'extendtext.exe'."
|
||||
end
|
||||
}
|
||||
end
|
||||
else
|
||||
backtrace_text += "\r\n"
|
||||
backtrace_text += "Backtrace:"
|
||||
|
||||
Reference in New Issue
Block a user