From 9ac8f92d3f0782e9d344d21c7a948d5c799c8323 Mon Sep 17 00:00:00 2001 From: Brandon Mitchell Date: Fri, 4 Aug 2023 16:26:56 -0400 Subject: [PATCH] Quote lint-md wildcard expression This avoids a potential foot gun, where a future md file in a sub directory would match the wildcard in the shell, and not pass the expression to the linter. Signed-off-by: Brandon Mitchell --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a5075d9cf..d69818c55 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ lint-go: .install.lint ## lint check of Go files using golangci-lint .PHONY: lint-md lint-md: ## Run linting for markdown docker run --rm -v "$(PWD):/workdir:ro" docker.io/davidanson/markdownlint-cli2:$(MARKDOWN_LINT_VER) \ - **/*.md "#vendor" + "**/*.md" "#vendor" .PHONY: test test: ## run the unit tests