Browse Source

fix(build): Also fail OpenAPI generation for untracked specs

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/51674/head
provokateurin 7 months ago
parent
commit
3732be59fd
Failed to extract signature
  1. 2
      build/openapi-checker.sh

2
build/openapi-checker.sh

@ -9,7 +9,7 @@ for path in core apps/*; do
fi
done
files="$(git diff --name-only)"
files="$(git ls-files --exclude-standard --modified --others)"
changed=false
for file in $files; do
if [[ $file == *"openapi"*".json" ]]; then

Loading…
Cancel
Save