Skip to content

Commit fcf5609

Browse files
committed
remove not needed rule
1 parent f4f03c2 commit fcf5609

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/browser/src/profiling/utils.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,8 +773,7 @@ export function addProfileToGlobalCache(profile_id: string, profile: JSSelfProfi
773773
PROFILE_MAP.set(profile_id, profile);
774774

775775
if (PROFILE_MAP.size > 30) {
776-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
777-
const last = PROFILE_MAP.keys().next().value!;
776+
const last = PROFILE_MAP.keys().next().value;
778777
if (last !== undefined) {
779778
PROFILE_MAP.delete(last);
780779
}

0 commit comments

Comments
 (0)