Merge branch 'msftidy-loadcheck' of git://github.com/todb-r7/metasploit-framework into todb-r7-msftidy-loadcheck
commit
2664fc83fa
|
@ -208,6 +208,10 @@ class Msftidy
|
|||
end
|
||||
end
|
||||
|
||||
if ln =~/^[ \t]*load[ \t]+[\x22\x27]/
|
||||
error("Loading (not requiring) a file: #{ln.inspect}", idx)
|
||||
end
|
||||
|
||||
# The rest of these only count if it's not a comment line
|
||||
next if ln =~ /[[:space:]]*#/
|
||||
|
||||
|
|
Loading…
Reference in New Issue