mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
Errors raised by PluginManager are no longer capitalised
This commit is contained in:
@@ -452,7 +452,6 @@ module PluginManager
|
|||||||
err = line.split(":")[-1].strip
|
err = line.split(":")[-1].strip
|
||||||
lms = line.split(":")[0].strip
|
lms = line.split(":")[0].strip
|
||||||
err.gsub!(n, "") if n
|
err.gsub!(n, "") if n
|
||||||
err = err.capitalize if err.is_a?(String) && !err.empty?
|
|
||||||
linum = n ? "Line #{n}: " : ""
|
linum = n ? "Line #{n}: " : ""
|
||||||
message += "#{linum}#{err}: #{lms}\r\n"
|
message += "#{linum}#{err}: #{lms}\r\n"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user