Merge "Fix pylint env for ancient versions of git"
This commit is contained in:
@@ -31,7 +31,7 @@ run_pylint() {
|
|||||||
if [[ "$target" = *"all"* ]]; then
|
if [[ "$target" = *"all"* ]]; then
|
||||||
files="cinder"
|
files="cinder"
|
||||||
else
|
else
|
||||||
files=$(git diff --name-only --diff-filter=ACMRU $target "*.py")
|
files=$(git diff --name-only --diff-filter=ACMRU $target -- "*.py")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${files}" ]; then
|
if [ -n "${files}" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user