Merge pull request #42634 from kevpar/fix-vndr-tooling
Fix up vndr tooling
This commit is contained in:
commit
40502f49f6
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ validate_vendor_diff(){
|
|||
echo
|
||||
echo "$diffs"
|
||||
echo
|
||||
echo 'Please vendor your package with github.com/LK4D4/vndr.'
|
||||
echo 'Please vendor your package with hack/vendor.sh.'
|
||||
echo
|
||||
if [ -n "$mfiles" ] ; then
|
||||
git diff -- "$mfiles"
|
||||
|
|
|
@ -24,5 +24,5 @@ if [ $# -eq 0 ] || [ "$1" = "archive/tar" ]; then
|
|||
fi
|
||||
|
||||
if [ $# -eq 0 ] || [ "$1" != "archive/tar" ]; then
|
||||
vndr -whitelist=^archive/tar "$@"
|
||||
vndr -whitelist='^archive[/\\]tar' "$@"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue