summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-01-19 23:35:10 +0100
committerprovokateurin <kate@provokateurin.de>2024-01-19 23:35:10 +0100
commit993d5d4a6dc5434fe663bacff7f935ee11ba63f8 (patch)
tree20f62658283b71d5a58ac558cdfad54008455f24 /build
parente5b0941c6446aeabeb40d3e98cd5e6e4cae2d07e (diff)
downloadnextcloud-server-993d5d4a6dc5434fe663bacff7f935ee11ba63f8.tar.gz
nextcloud-server-993d5d4a6dc5434fe663bacff7f935ee11ba63f8.zip
fix(build): Fix OpenAPI diff on non-default specs
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/openapi-checker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/openapi-checker.sh b/build/openapi-checker.sh
index ffcd12aea73..00b2b7d7baa 100755
--- a/build/openapi-checker.sh
+++ b/build/openapi-checker.sh
@@ -9,7 +9,7 @@ done
files="$(git diff --name-only)"
changed=false
for file in $files; do
- if [[ $file == *"openapi.json" ]]; then
+ if [[ $file == *"openapi"*".json" ]]; then
changed=true
break
fi