mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Merge pull request #51645 from thaJeztah/api_relax_replace_check
hack/validate/module-replace: relax check
This commit is contained in:
@@ -4,7 +4,15 @@ set -e
|
||||
SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "${SCRIPTDIR}/.validate"
|
||||
|
||||
api_files=$(validate_diff --diff-filter=ACMR --name-only -- 'api/' || true)
|
||||
api_files=$(
|
||||
validate_diff --diff-filter=ACMR --name-only -- \
|
||||
'api/' \
|
||||
':(exclude)api/README.md' \
|
||||
':(exclude)api/swagger.yaml' \
|
||||
':(exclude)api/docs/' \
|
||||
|| true
|
||||
)
|
||||
|
||||
client_files=$(validate_diff --diff-filter=ACMR --name-only -- 'client/' || true)
|
||||
|
||||
has_errors=0
|
||||
|
||||
Reference in New Issue
Block a user