mirror of
https://github.com/affaan-m/ECC.git
synced 2026-10-27 10:55:11 +00:00
fix(install): harden Claude settings lifecycle
This commit is contained in:
1 parent
26d3e0038b
commit
f59cfd57c2
19 files changed
+540
-350
No files matched your search
@@ -207,7 +207,7 @@ function validateHooks() {
|
||||
console.error(`ERROR: ${matcherLabel} has invalid 'matcher' field`);
|
||||
hasErrors = true;
|
||||
}
|
||||
if (!matcher.hooks || !Array.isArray(matcher.hooks)) {
|
||||
if (!matcher.hooks || !Array.isArray(matcher.hooks) || matcher.hooks.length === 0) {
|
||||
console.error(`ERROR: ${matcherLabel} missing 'hooks' array`);
|
||||
hasErrors = true;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user