Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tronxd committed May 9, 2024
1 parent 24031f1 commit 837e020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect_secrets/plugins/azure_storage_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def context_keys_exists(self, result: PotentialSecret, string: str) -> bool:
for secret_regex in self.context_keys:
regex = re.compile(
secret_regex.format(
secret=re.escape(result.secret_value), account_key=self.account_key, azure=self.azure
secret=re.escape(result.secret_value), account_key=self.account_key, azure=self.azure,
), re.MULTILINE,
)
if regex.pattern.startswith(self.account_key) and self.account_key not in string:
Expand Down

0 comments on commit 837e020

Please sign in to comment.