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:
parent
65df973f70
commit
50aacb6e07
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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; \
|
||||||
|
|
Loading…
Reference in a new issue