Skip to content

Commit e4b52e5

Browse files
fix: surface knip hook output in vscode (#6183)
## Summary - redirect pnpm knip output to stderr so VS Code surfaces failures ## Testing <img width="1585" height="483" alt="image" src="https://github.com/user-attachments/assets/d65af783-d168-45cf-b01e-2b727e429a91" /> before it would literally just say it failed and you'd have to manually rerun pnpm knip in ur own terminal ------ https://chatgpt.com/codex/tasks/task_e_68f7d2f2f2548330a23ae74554f1a54a
1 parent 2346ba1 commit e4b52e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
22

33
# Run Knip with cache via package script
4-
pnpm knip
4+
pnpm knip 1>&2
55

0 commit comments

Comments
 (0)