問題文
What happens when a malformed hook item is found in a configuration file loaded from a directory?
選択肢
- All hooks in the repository are disabled until the error is fixed, so that no checks run against a configuration that is known to be broken.
- The malformed item is corrected automatically where the intent is clear, and only ambiguous items are dropped.
- Only that item is dropped and logged; valid sibling hooks in the same file still load, but structural errors reject the entire file.
- The entire file is rejected in all cases, because a definition file is loaded as a unit and a partially valid file cannot be trusted.