From 6a223c567ef40c83988c9a65547d9fbecfef93e9 Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Sat, 16 Jan 2016 12:05:16 -0800 Subject: [PATCH] Allow vendor dirs in subdirectories. --- tools/lint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lint b/tools/lint index 818c05a257..7e4cef41ec 100755 --- a/tools/lint +++ b/tools/lint @@ -148,7 +148,7 @@ function lint_files { function list_files { if [ $# -gt 0 ]; then - find "$@" -type f | grep -vE '^\./(\.git|vendor)/' + find "$@" -type f | grep -vE '^(\./\.git|vendor)/' else git diff --cached --name-only fi