Skip to content

Commit 384e28e

Browse files
authored
diff: the command.run hook names its command by the literal the engine's scan reads (#96570)
1 parent d78be94 commit 384e28e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎mods/diff/hooks/register.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ export function register(on: On) {
741741
)
742742
})
743743

744-
on('command.run', { command: Names.COMMAND_NAME }, async ($, e, next) => {
744+
on('command.run', { command: 'diff' }, async ($, e, next) => {
745745
if (!host) {
746746
return next(e)
747747
}

0 commit comments

Comments
 (0)