Skip to content

Commit 7454cab

Browse files
authored
Merge pull request #28 from riwatt/fix-lint
Fix shell quoting error in checkdoc Makefile target
2 parents 97246b6 + 707b30a commit 7454cab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ checkdoc:
170170
--eval "(require 'checkdoc)" \
171171
--eval "(setq checkdoc-autofix-style 'query)" \
172172
$(foreach file,$(EL_FILES),--eval "(checkdoc-file \"$(file)\")") \
173-
--eval "(if checkdoc-diagnostic-buffer (progn (set-buffer checkdoc-diagnostic-buffer) (message (buffer-string)) (error \"Checkdoc found issues\")))" \
174-
2>&1 | grep -v "^$" || true
173+
--eval '(if checkdoc-diagnostic-buffer (progn (set-buffer checkdoc-diagnostic-buffer) (message (buffer-string)) (error "Checkdoc found issues")))' \
174+
2>&1 | grep -v "^$$" || true
175175
@echo "✅ Docstring checks passed"
176176

177177
# Linting (code style + byte-compile warnings + docstrings)

0 commit comments

Comments
 (0)