Skip to content

Commit 9ac8f92

Browse files
committed
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 <[email protected]>
1 parent 82d42b1 commit 9ac8f92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ lint-go: .install.lint ## lint check of Go files using golangci-lint
9595
.PHONY: lint-md
9696
lint-md: ## Run linting for markdown
9797
docker run --rm -v "$(PWD):/workdir:ro" docker.io/davidanson/markdownlint-cli2:$(MARKDOWN_LINT_VER) \
98-
**/*.md "#vendor"
98+
"**/*.md" "#vendor"
9999

100100
.PHONY: test
101101
test: ## run the unit tests

0 commit comments

Comments
 (0)