Merge pull request #135715 from NousResearch/ethie/lefthook-hookspath-nonfatal

fix: don't fail npm install when lefthook can't install hooks
This commit is contained in:
ethernet authored and GitHub committed 2026-10-09 13:09:07 -04:00
commit cf23a1a5cc
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@
"audit:fix:tui": "npm audit fix --workspace ui-tui",
"check": "npm run --ws check",
"fix": "npm run --ws fix",
"prepare": "node -e \"const {existsSync}=require('fs');const {spawnSync}=require('child_process');if(existsSync('.git'))process.exit(spawnSync('lefthook',['install'],{stdio:'inherit',shell:true}).status??1)\""
"prepare": "node -e \"const {existsSync}=require('fs');const {spawnSync}=require('child_process');if(existsSync('.git'))spawnSync('lefthook',['install'],{stdio:'inherit',shell:true})\""
},
"repository": {
"type": "git",