diff --git a/src/base-command.ts b/src/base-command.ts index c5d01a3c4..0837099c7 100644 --- a/src/base-command.ts +++ b/src/base-command.ts @@ -50,7 +50,7 @@ export default abstract class BaseCommand extends Command { } } this.warnIfCommandDeprecated(); - // await this.sentry.startSentryTransaction(); + await this.sentry.startSentryTransaction(); this.app.posthog.capture({ event: 'cli.command.start', properties: { diff --git a/src/commands/doctor.ts b/src/commands/doctor.ts index 1a1527e36..aa9e7c2ee 100644 --- a/src/commands/doctor.ts +++ b/src/commands/doctor.ts @@ -160,8 +160,8 @@ export default class Doctor extends BaseCommand { }, ]); - // const command_metadata = await this.sentry.readCommandHistoryFromFileSystem(); - // this.history = (command_metadata || []).slice(~Math.min(answers.history, command_metadata.length) + 1); + const command_metadata = await this.sentry.readCommandHistoryFromFileSystem(); + this.history = (command_metadata || []).slice(~Math.min(answers.history, command_metadata.length) + 1); // .yml files removed from report's config_dir_files if (!answers.compose) {