mirror of
https://github.com/anthropics/claude-code.git
synced 2026-10-02 05:25:05 +08:00
diff: the command.run hook names its command by the literal the engine's scan reads (#96570)
This commit is contained in:
@@ -741,7 +741,7 @@ export function register(on: On) {
|
||||
)
|
||||
})
|
||||
|
||||
on('command.run', { command: Names.COMMAND_NAME }, async ($, e, next) => {
|
||||
on('command.run', { command: 'diff' }, async ($, e, next) => {
|
||||
if (!host) {
|
||||
return next(e)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user