Skip to content

Conversation

@Roman-Malinowski
Copy link

Fixes #936

  • All CI checks are green
  • What kind of change does this PR introduce?

Bug fix: Handling the ValueError when running detect-secrets scan --only-allowlisted in a directory containing empty files

  • What is the current behavior?

A ValueError is raised as described in issue #936

  • What is the new behavior (if this is a feature change)?
    A warning is raised, and the scan continues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scan with -only-allowlisted flag raises a ValueError when checking empty files.

1 participant