From 33c31673621c59053cc0fbf2808be82f5f43a2dd Mon Sep 17 00:00:00 2001 From: William Vu Date: Tue, 22 Oct 2013 14:54:54 -0500 Subject: [PATCH] Show full path instead of just the basename Since @todb-r7 and I hate having to use find. :/ --- tools/msftidy.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/msftidy.rb b/tools/msftidy.rb index c8b37c215e..70a902d8e8 100755 --- a/tools/msftidy.rb +++ b/tools/msftidy.rb @@ -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