Skip to content

Commit

Permalink
chore: always flush
Browse files Browse the repository at this point in the history
  • Loading branch information
kmruiz committed Nov 27, 2023
1 parent d240074 commit c610435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/logging/src/analytics-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,6 @@ export class SampledAnalytics implements MongoshAnalytics {
}

flush(callback: (err?: Error | undefined) => void): void {
this.isEnabled && this.target.flush(callback);
this.target.flush(callback);
}
}

0 comments on commit c610435

Please sign in to comment.