From 616563b5cb54938eea2dc73ea11614bfbaea0546 Mon Sep 17 00:00:00 2001 From: Prajyot-Parab Date: Fri, 29 Jul 2022 23:37:20 +0530 Subject: [PATCH] Fix apidiff target Signed-off-by: Prajyot-Parab --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7b89e90a75..9a83da8136 100644 --- a/Makefile +++ b/Makefile @@ -328,8 +328,8 @@ apidiff: $(GO_APIDIFF) ## Check for API differences @$(call checkdiff) > /dev/null @if ($(call checkdiff) | grep "api/"); then \ $(GO_APIDIFF) $(APIDIFF_OLD_COMMIT) --print-compatible; \ - else - @echo "No changes to 'api/'. Nothing to do." + else \ + echo "No changes to 'api/'. Nothing to do."; \ fi define checkdiff