mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-18 12:59:31 +00:00
Merge commit '0441e70ba033aa5417122d474bd6461fd3d538e6' into build-example-in-container
This commit is contained in:
@@ -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|^\./\.pkg|/vendor/)'
|
||||
else
|
||||
git diff --cached --name-only
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user