Skip to content

Commit 356473a

Browse files
committed
check for whitespace surrounding the tag
1 parent 91d54bd commit 356473a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ swagger-validate:
274274

275275
.PHONY: build-constraints-check
276276
build-constraints-check:
277-
@output=$$(grep '+build' $(GO_SOURCES_OWN) | grep -v all); \
277+
@output=$$(grep '+build' $(GO_SOURCES_OWN) | grep -v ' all '); \
278278
if [ $$? -ne 1 ]; then \
279279
echo "Please include the 'all' tag in all +build constraints:"; \
280280
echo "$${output}"; \

0 commit comments

Comments
 (0)