Show full path instead of just the basename

Since @todb-r7 and I hate having to use find. :/
bug/bundler_fix
William Vu 2013-10-22 14:54:54 -05:00
parent 11b2719ccc
commit 33c3167362
1 changed files with 3 additions and 3 deletions

View File

@ -58,17 +58,17 @@ class Msftidy
def warn(txt, line=0)
line_msg = (line>0) ? ":#{line.to_s}" : ''
puts "#{@name}#{line_msg} - [#{'WARNING'.yellow}] #{txt}"
puts "#{@full_filepath}#{line_msg} - [#{'WARNING'.yellow}] #{txt}"
end
def error(txt, line=0)
line_msg = (line>0) ? ":#{line.to_s}" : ''
puts "#{@name}#{line_msg} - [#{'ERROR'.red}] #{txt}"
puts "#{@full_filepath}#{line_msg} - [#{'ERROR'.red}] #{txt}"
end
def fixed(txt, line=0)
line_msg = (line>0) ? ":#{line.to_s}" : ''
puts "#{@name}#{line_msg} - [#{'FIXED'.green}] #{txt}"
puts "#{@full_filepath}#{line_msg} - [#{'FIXED'.green}] #{txt}"
end