Skip to content

Commit

Permalink
Remove return value from trackAuthAction
Browse files Browse the repository at this point in the history
  • Loading branch information
camden11 committed Nov 28, 2023
1 parent ab5d0d8 commit 1095b70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/cli/lib/usageTracking.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,14 @@ const trackAuthAction = async (command, authType, step, accountId) => {
step,
};
try {
const response = await trackUsage(
await trackUsage(
'cli-interaction',
EventClass.INTERACTION,
usageTrackingEvent,
accountId
);

logger.debug('Sent usage tracking command event: %o', usageTrackingEvent);

return response;
} catch (e) {
logger.debug('Auth action tracking failed: %s', e.message);
}
Expand Down

0 comments on commit 1095b70

Please sign in to comment.