From a8ad9a50625c4c792658077192652d487ab1e4ee Mon Sep 17 00:00:00 2001 From: Billy Vong Date: Wed, 9 Oct 2024 13:30:15 -0400 Subject: [PATCH] simplify --- packages/replay-internal/src/replay.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/replay-internal/src/replay.ts b/packages/replay-internal/src/replay.ts index e692050e2eff..8751e6554d83 100644 --- a/packages/replay-internal/src/replay.ts +++ b/packages/replay-internal/src/replay.ts @@ -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); } }