Skip to content

Commit

Permalink
fix: send plugin version to telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Feb 17, 2023
1 parent 22638b6 commit f84ae1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/jitPluginInstall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const hook: Hook<'jit_plugin_not_installed'> = async function (opts) {
global.cliTelemetry?.record({
eventName: 'JIT_INSTALL_STARTED',
type: 'EVENT',
version: opts.config.version,
version: opts.pluginVersion,
plugin: opts.command.pluginName,
command: opts.command.id,
});
Expand All @@ -29,7 +29,7 @@ const hook: Hook<'jit_plugin_not_installed'> = async function (opts) {
global.cliTelemetry?.record({
eventName: 'JIT_INSTALL_SUCCESS',
type: 'EVENT',
version: opts.config.version,
version: opts.pluginVersion,
plugin: opts.command.pluginName,
command: opts.command.id,
});
Expand Down

0 comments on commit f84ae1f

Please sign in to comment.