aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-10-18 10:00:45 -0700
committerAdam Vandenberg2011-10-18 10:00:45 -0700
commit0dbf06bbc85b8f1f04e4d6295044bcf58c1db47d (patch)
tree039484e5c6a7fee23bd3f87297ef0412437ba4f3 /Library
parent8848857cead43e54a0d2fde85d902096160d95bb (diff)
downloadbrew-0dbf06bbc85b8f1f04e4d6295044bcf58c1db47d.tar.bz2
audit: complain more about tabs
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 1a57ab80a..5a4a5e05c 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -102,9 +102,9 @@ def audit_formula_text name, text
problems << " * Use separate make calls."
end
- if text =~ /^\t/
+ if text =~ /^[ ]*\t/
problems << " * Use spaces instead of tabs for indentation"
- end if strict?
+ end
# Formula depends_on gfortran
if text =~ /^\s*depends_on\s*(\'|\")gfortran(\'|\").*/