Skip to content

Commit

Permalink
fix(test): forcing cli build to test isolating sentry, adding debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-cahill committed Oct 18, 2023
1 parent 8ebd550 commit b27e7f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/base-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
4 changes: 2 additions & 2 deletions src/commands/doctor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b27e7f2

Please sign in to comment.