mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
update precommit hook
This commit is contained in:
parent
2c415265ea
commit
9a893dedf7
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ fastify.listen({
|
|||
host: "0.0.0.0",
|
||||
});
|
||||
|
||||
writeFileSync(".git/hooks/pre-commit", "pnpm prettier . -w");
|
||||
writeFileSync(".git/hooks/pre-commit", "pnpm prettier . -w\ngit add -A");
|
||||
chmodSync(".git/hooks/pre-commit", 0o755);
|
||||
|
||||
const watch = spawn("pnpm", ["rspack", "-w"], {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue