Skip to content

Commit a5cdf5d

Browse files
committed
Fix check_executable
1 parent b89c4d1 commit a5cdf5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/msftidy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def error(txt, line=0)
5959
##
6060

6161
def check_executable
62-
warn("File is not executable") if File.executable?(@name)
62+
warn("File is not executable") if not File.executable?(@name)
6363
end
6464

6565
def test_old_rubies(f_rel)

0 commit comments

Comments
 (0)