Commit 16486d5
committed
fix: make stylua hook CI-compatible with Nix fallback
- Add conditional check for Nix availability in stylua hook
- Skip stylua formatting gracefully when Nix is not available (CI environments)
- Maintain local functionality while preventing CI failures
- Use bash wrapper to handle conditional execution1 parent d0cbe88 commit 16486d5
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
0 commit comments