mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-10-28 13:32:02 +08:00
Merge pull request #135232 from NousResearch/fix/lefthook-prepare-no-git
Docker image builds no longer fail on lefthook install (follow-up to #135177)
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -24,7 +24,7 @@
|
||||
"audit:fix:tui": "npm audit fix --workspace ui-tui",
|
||||
"check": "npm run --ws check",
|
||||
"fix": "npm run --ws fix",
|
||||
"prepare": "lefthook install"
|
||||
"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)\""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in new issue
Block a user