Commit 607b8333 authored by Fabio Pelosin's avatar Fabio Pelosin

[Pod::Informative] Minor fix.

parent a1286c7a
...@@ -6,7 +6,7 @@ module Pod ...@@ -6,7 +6,7 @@ module Pod
class Informative < StandardError class Informative < StandardError
def message def message
#TODO: remove formatting from raise calls and remove conditional #TODO: remove formatting from raise calls and remove conditional
super !~ /\[!]/ ? "[!] #{super}\n".red : super super !~ /\[!\]/ ? "[!] #{super}\n".red : super
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment