Skip to content

Commit

Permalink
DX-3102: Rename Amplitude event (#4309)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored Dec 24, 2020
1 parent abd7fd0 commit afd76d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Robo/Blt.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,8 @@ public function run(InputInterface $input, OutputInterface $output) {
$userConfig = new UserConfig(self::configDir());
$event_properties = $userConfig->getTelemetryUserData();
$event_properties['exit_code'] = $status_code;
Amplitude::getInstance()->queueEvent('blt ' . $input->getFirstArgument(), $event_properties);
$event_properties['command'] = $input->getFirstArgument();
Amplitude::getInstance()->queueEvent('run command', $event_properties);

return $status_code;
}
Expand Down

0 comments on commit afd76d6

Please sign in to comment.