Skip to content

🐛[BUG]: License pre-commit breaks when deleting files #1009

@coreyjadams

Description

@coreyjadams

Version

1.2.0

On which installation method(s) does this occur?

Source

Describe the issue

If files are removed via git - when other files are added in the same commit - it breaks the pre-commit workflow. The removed files fail the license check, though of course they shouldn't need a license if they are deleted.

One workaround is to add files in one commit, and remove files in a separate commit. But if we have a chance to fix this we should.

Minimum reproducible example

Relevant log output

Environment details

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions