Skip to content

Commit c5fb843

Browse files
committed
Adds missing usage track
1 parent 419acb3 commit c5fb843

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/system/vscode/command.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export function registerCommand(command: Commands, callback: CommandCallback, th
4747
'context.submode': context?.submode,
4848
});
4949
}
50+
5051
void Container.instance.usage.track(`command:${command}:executed`).catch();
5152
callback.call(this, ...args);
5253
},
@@ -76,6 +77,7 @@ export function registerWebviewCommand(command: Commands, callback: CommandCallb
7677
});
7778
}
7879

80+
void Container.instance.usage.track(`command:${command}:executed`).catch();
7981
callback.call(this, ...args);
8082
},
8183
thisArg,

0 commit comments

Comments
 (0)