mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-28 05:55:17 -07:00
feat(hooks): implement STOP_EXECUTION and enhance hook decision handling (#15685)
This commit is contained in:
@@ -180,7 +180,7 @@ export class DefaultHookOutput implements HookOutput {
|
||||
* Get the effective reason for blocking or stopping
|
||||
*/
|
||||
getEffectiveReason(): string {
|
||||
return this.reason || this.stopReason || 'No reason provided';
|
||||
return this.stopReason || this.reason || 'No reason provided';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user