irregular_cask_whitespace: Remove DSL version

See #15901
This commit is contained in:
Tommy Sparber
2015-12-22 11:16:48 +11:00
parent e4da9afb7a
commit 654e9cec09
+1 -1
View File
@@ -94,7 +94,7 @@ _irregular_cask_whitespace () {
perl -C32 -0777 -ne 'print " $ARGV\n" if m{[\x00-\x08\x0B-\x0C\x0E\x1F]}s' -- ./*.rb
printf "\n# First indent not 2\n"
perl -C32 -0777 -ne 's{\A(.*?\n)?cask\s+:v\d\S*\s+=>[^\n]+\n+}{}s; print " $ARGV\n" unless m{\A \S}s' -- ./*.rb
perl -C32 -0777 -ne 's{\A(.*?\n)?cask\s+[^\n]+\n+}{}s; print " $ARGV\n" unless m{\A \S}s' -- ./*.rb
printf "\n# Indents not multiple of 2\n"
perl -C32 -0777 -ne 'print " $ARGV\n" if m{\n(?: ){0,} [a-z]}s' -- ./*.rb