mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-19 11:57:07 +09:00
prek: run treefmt hook serially
Parallel nix fmt batches time out on treefmt's cache lock. Updates #1926
This commit is contained in:
1 parent
8a291dfc9d
commit
167f4f646f
1 file changed
+2
@@ -41,6 +41,8 @@ repos:
|
||||
name: treefmt
|
||||
entry: nix fmt --
|
||||
language: system
|
||||
# Parallel batches time out on treefmt's cache lock.
|
||||
require_serial: true
|
||||
exclude: ^docs/
|
||||
types_or: [javascript, jsx, ts, tsx, yaml, json, html, css, scss, sass, markdown, nix]
|
||||
|
||||
|
||||
Reference in new issue
Block a user