mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-05 08:25:16 +00:00
[#2793] fix a mistake in JSON CI script that made it check all files when none were modified
This commit is contained in:
committed by
Tomek Mrugalski
parent
e2081c7059
commit
01f15716d3
@@ -17,6 +17,11 @@ if test ${#} -gt 0; then
|
||||
else
|
||||
# By default, check only modified files.
|
||||
files=$(git diff --name-only $(git merge-base origin/master HEAD))
|
||||
|
||||
# If there is nothing to check, exit early. Otherwise, it checks everything.
|
||||
if test -z "${files}"; then
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
exit_code=0
|
||||
|
Reference in New Issue
Block a user