Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
billyvg committed Oct 9, 2024
1 parent b7e2793 commit a8ad9a5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/replay-internal/src/replay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1249,9 +1249,7 @@ export class ReplayContainer implements ReplayContainerInterface {
if (this.recordingMode !== 'buffer') {
return;
} else {
if (tooShort) {
setTag(`replay.${tooShort ? 'tooShort' : 'tooLong'}`, true);
}
setTag(`replay.${tooShort ? 'tooShort' : 'tooLong'}`, true);
}
}

Expand Down

0 comments on commit a8ad9a5

Please sign in to comment.