Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/cli/src/utils/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export async function sendTelemetry({
...args
} = argv;
const event_time = new Date().toISOString();
const { RedoclyOAuthClient } = await import('../auth/oauth-client');
const { RedoclyOAuthClient } = await import('../auth/oauth-client.js');
const oauthClient = new RedoclyOAuthClient('redocly-cli', version);
const reuniteUrl = getReuniteUrl(argv.residency as string | undefined);
const logged_in = await oauthClient.isAuthorized(reuniteUrl);
Expand Down Expand Up @@ -88,7 +88,7 @@ export async function sendTelemetry({
: undefined,
};

const { otelTelemetry } = await import('../otel');
const { otelTelemetry } = await import('../otel.js');
otelTelemetry.init();
otelTelemetry.send(data.command, data);
} catch (err) {
Expand Down
Loading