Commit 8b505899 authored by Fabio Pelosin's avatar Fabio Pelosin

Automatically decorate Informatives.

parent 99d20425
...@@ -4,6 +4,10 @@ module Pod ...@@ -4,6 +4,10 @@ module Pod
VERSION = '0.6.0rc1' VERSION = '0.6.0rc1'
class Informative < StandardError class Informative < StandardError
def message
#TODO: remove formatting from raise calls and remove conditional
super !~ /\[!]/ ? "[!] #{super}\n".red : super
end
end end
autoload :Command, 'cocoapods/command' autoload :Command, 'cocoapods/command'
......
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