Skip to content

Commit

Permalink
Fix bug in skip checks
Browse files Browse the repository at this point in the history
  • Loading branch information
marcwickenden committed Oct 5, 2023
1 parent 62b218c commit 512ee1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sricheck/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.6.4"
__version__ = "1.6.5"
2 changes: 1 addition & 1 deletion sricheck/sricheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def set_skip_checks(self, skip_checks):
def is_allowlisted(self, netloc):
# Don't check allowlist if skip_checks is True
if self.skip_checks is True:
return True
return False

for pattern in self.allowlisted_hosts:
# file deepcode ignore reDOS: Intended functionality
Expand Down

0 comments on commit 512ee1f

Please sign in to comment.