From 50aacb6e07ff42c39c86726b53a86b8bb1140d39 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani <45800463+rchincha@users.noreply.github.com> Date: Tue, 4 Oct 2022 13:36:19 -0700 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2ea4874d..89214588 100644 --- a/Makefile +++ b/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; \