Skip to content

Commit b5a3a39

Browse files
committed
simplify
1 parent be7ffc3 commit b5a3a39

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/replay-internal/src/replay.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,9 +1249,7 @@ export class ReplayContainer implements ReplayContainerInterface {
12491249
if (this.recordingMode !== 'buffer') {
12501250
return;
12511251
} else {
1252-
if (tooShort) {
1253-
setTag(`replay.${tooShort ? 'tooShort' : 'tooLong'}`, true);
1254-
}
1252+
setTag(`replay.${tooShort ? 'tooShort' : 'tooLong'}`, true);
12551253
}
12561254
}
12571255

0 commit comments

Comments
 (0)