diff: the command.run hook names its command by the literal the engine's scan reads (#96570)

This commit is contained in:
Alice T'Poteat
2026-09-24 10:22:12 -07:00
committed by GitHub
parent d78be9481b
commit 384e28e6c3
+1 -1
View File
@@ -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)
}