0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00

fix(license-check): also account for another result condition (#848)

Earlier checks did not report non-golang code dependencies. Now they do,
so account for that.

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani 2022-10-04 13:36:19 -07:00 committed by GitHub
parent 65df973f70
commit 50aacb6e07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,7 +172,7 @@ check-licenses:
echo FAIL; \ echo FAIL; \
exit 1; \ exit 1; \
fi; \ fi; \
echo "$${result}" | egrep -q "missing go.sum entry|no required module provides package|build constraints exclude all|updates to go.mod needed"; \ echo "$${result}" | egrep -q "missing go.sum entry|no required module provides package|build constraints exclude all|updates to go.mod needed|non-Go code"; \
if [ $$? -eq 0 ]; then \ if [ $$? -eq 0 ]; then \
echo UNKNOWN; \ echo UNKNOWN; \
break; \ break; \