mirror of
https://github.com/affaan-m/ECC.git
synced 2026-09-27 20:15:03 +02:00
fix(install): preserve opencode non-hook defaults
This commit is contained in:
@@ -56,10 +56,6 @@ function isHookRuntimeOperation(operation = {}) {
|
||||
|| source === '.cursor/hooks'
|
||||
|| source.startsWith('.cursor/hooks/')
|
||||
|| source === '.cursor/hooks.json'
|
||||
|| source === '.opencode/plugins'
|
||||
|| source.startsWith('.opencode/plugins/')
|
||||
|| source === '.opencode/dist/plugins'
|
||||
|| source.startsWith('.opencode/dist/plugins/')
|
||||
|| destination.endsWith('/hooks/hooks.json')
|
||||
|| destination.endsWith('/.cursor/hooks.json')
|
||||
|| destination.includes('/.cursor/hooks/')
|
||||
|
||||
Reference in New Issue
Block a user