Be more exact about shebang checking

bug/bundler_fix
William Vu 2013-11-20 15:26:35 -06:00
parent 110e78a1ad
commit 6c7a98ef47
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class Msftidy
end
def check_shebang
if @source =~ /^#!/
if @source.lines.first =~ /^#!/
warn("Module should not have a #! line")
end
end