Skip to content

Commit 08d96cc

Browse files
committed
Use --log-level log for fmt-check to preserve file list
Codex feedback: --log-level warn suppresses the file list when prettier --check fails, making it impossible to know which files need formatting. --log-level log: - Shows failing file paths when issues are found - Suppresses verbose (unchanged) messages for clean files - Maintains clean output in success case
1 parent 14c9ee2 commit 08d96cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmt.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fmt-prettier:
3030

3131
fmt-prettier-check:
3232
@echo "Checking TypeScript/JSON/Markdown formatting..."
33-
@$(PRETTIER) --log-level warn --check $(PRETTIER_PATTERNS)
33+
@$(PRETTIER) --log-level log --check $(PRETTIER_PATTERNS)
3434

3535
fmt-shell:
3636
ifeq ($(SHFMT),)

0 commit comments

Comments
 (0)