Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xnerhu committed Nov 5, 2023
1 parent bfc36e8 commit d76a9fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/detectors/eval_length.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ export function detectEvalLengthInconsistency({
return

const length = evalLength.value
if (browserEngineKind.value === BrowserEngineKind.Unknown)
return false
if (browserEngineKind.value === BrowserEngineKind.Unknown) return false
return (
(length === 37 && !arrayIncludes([BrowserEngineKind.Webkit, BrowserEngineKind.Gecko], browserEngineKind.value)) ||
(length === 39 && !arrayIncludes([BrowserKind.IE], browserKind.value)) ||
Expand Down

0 comments on commit d76a9fe

Please sign in to comment.