Skip to content

Commit aa34bc5

Browse files
committed
prettier
1 parent d1990e1 commit aa34bc5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/replay/src/replay.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export class ReplayContainer implements ReplayContainerInterface {
278278
this._debouncedFlush.cancel();
279279
// See comment above re: `_isEnabled`, we "force" a flush, ignoring the
280280
// `_isEnabled` state of the plugin since it was disabled above.
281-
await this._flush({force: true})
281+
await this._flush({ force: true });
282282

283283
// After flush, destroy event buffer
284284
this.eventBuffer && this.eventBuffer.destroy();
@@ -801,7 +801,7 @@ export class ReplayContainer implements ReplayContainerInterface {
801801
* Flush recording data to Sentry. Creates a lock so that only a single flush
802802
* can be active at a time. Do not call this directly.
803803
*/
804-
private _flush = async ({force = false}: ReplayFlushOptions = {}): Promise<void> => {
804+
private _flush = async ({ force = false }: ReplayFlushOptions = {}): Promise<void> => {
805805
if (!this._isEnabled && !force) {
806806
// This can happen if e.g. the replay was stopped because of exceeding the retry limit
807807
return;

packages/replay/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,8 +477,8 @@ export interface ReplayContainer {
477477
export interface ReplayFlushOptions {
478478
/**
479479
* If true, flush while ignoring the `_isEnabled` state of
480-
* Replay integration. (By default, flush is noop if integration
481-
* is stopped).
480+
* Replay integration. (By default, flush is noop if integration
481+
* is stopped).
482482
*/
483483
force?: boolean;
484484
}

0 commit comments

Comments
 (0)