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
2
Makefile
2
Makefile
@ -172,7 +172,7 @@ check-licenses:
|
||||
echo FAIL; \
|
||||
exit 1; \
|
||||
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 \
|
||||
echo UNKNOWN; \
|
||||
break; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user