Skip to content

Commit b6d14f3

Browse files
committed
fix(extensions): point the hook command comment at validate_events()
`#17` read as a GitHub issue reference, but that issue is about Gemini CLI. Refs #5080 Assisted-by: Claude Code (model: claude-opus-5-5, autonomous)
1 parent 8e828dc commit b6d14f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/specify_cli/extensions/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ def _validate(self):
433433
"expected a mapping or list of mappings"
434434
)
435435
command = entry.get("command")
436-
# #5080: same rule as extension events (#17). A truthy
437-
# non-string (e.g. command: [foo]) passed a bare
436+
# #5080: same rule as validate_events() in events/__init__.py.
437+
# A truthy non-string (e.g. command: [foo]) passed a bare
438438
# truthiness check and crashed hook registration mid-install.
439439
if not isinstance(command, str) or not command.strip():
440440
raise ValidationError(

0 commit comments

Comments
 (0)