We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e363027 commit 7654196Copy full SHA for 7654196
tools/msftidy.rb
@@ -471,9 +471,12 @@ def check_lines
471
error("Writes to stdout", idx)
472
end
473
474
- # do not change datastore in code
+ # You should not change datastore in code. For reasons. See
475
+ # RM#8498 for discussion, starting at comment #16:
476
+ #
477
+ # https://dev.metasploit.com/redmine/issues/8498#note-16
478
if ln =~ /(?<!\.)datastore\[["'][^"']+["']\]\s*=(?![=~>])/
- error("datastore is modified in code: #{ln}", idx)
479
+ info("datastore is modified in code: #{ln}", idx)
480
481
482
# do not read Set-Cookie header (ignore commented lines)
0 commit comments