Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhousley committed Jun 24, 2024
1 parent 8d93d37 commit 528f5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/deny-list/deny-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var denyList = []
* @returns {boolean} `true` if request does not match any entries of {@link denyList|deny list}; else `false`
*/
export function shouldCollectEvent (params) {
if (hasUndefinedHostname(params)) return false
if (!params || hasUndefinedHostname(params)) return false

if (denyList.length === 0) return true

Expand Down

0 comments on commit 528f5e1

Please sign in to comment.