Skip to content

Commit

Permalink
Reword audit prompt message for clarity
Browse files Browse the repository at this point in the history
The old audit prompt message was confusing in the case of a false positive. This new wording suits both genuine findings and false positives.

Fixes #734
  • Loading branch information
direvus authored Nov 20, 2023
1 parent 5438d06 commit 4f244ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect_secrets/audit/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def __init__(self, allow_labelling: bool, allow_backstep: bool) -> None:

def __str__(self) -> str:
if 'Y' in self.valid_input:
output = 'Is this a secret that should be committed to this repository?'
output = 'Should this be committed to the repository?'
else:
output = 'What would you like to do?'

Expand Down

0 comments on commit 4f244ad

Please sign in to comment.