From 2bbbbee3818ef12a58f9a588613417dee8d16288 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Fri, 12 Oct 2012 09:33:18 -0500 Subject: [PATCH] Make the check_executable warning easier to understand. --- tools/msftidy.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/msftidy.rb b/tools/msftidy.rb index 1fef335441..d6c61c6ee0 100755 --- a/tools/msftidy.rb +++ b/tools/msftidy.rb @@ -59,7 +59,9 @@ class Msftidy ## def check_executable - warn("File is not executable") if not File.executable?(@name) + if not File.executable?(@name) + warn("File is not executable. Double check your file type and permissions.") + end end def test_old_rubies(f_rel)