Skip to content

Commit

Permalink
prepare 2.1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
lociii committed Aug 20, 2024
1 parent 9039515 commit 57c43ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
-
-->

## [2.1.1] - 2024-08-20
### Changed
- Fixed an issue where the management command `scrub_validation` could fail even though all models were skipped - Thanks @GitRon

## [2.1.0] - 2024-08-20
### Changed
- Added support for `Django` version `5.1` - Thanks @GitRon
Expand Down
2 changes: 1 addition & 1 deletion django_scrubber/management/commands/scrub_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def handle(self, *args, **options):
print(f"- {field}")
found_fields += 1

if found_models > 0 or found_fields > 0:
if found_models > 0:
print(f'{found_models} model(s) having {found_fields} unscrubbed field(s) detected.')
sys.exit(1)

Expand Down

0 comments on commit 57c43ec

Please sign in to comment.