aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 9a4b0ca0a..0cf20b75b 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -57,7 +57,7 @@ class FormulaText
end
def has_DATA?
- /\bDATA\b/ =~ @text
+ /^[^#]*\bDATA\b/ =~ @text
end
def has_END?