Skip to content

Commit

Permalink
Update cfbs/commands.py
Browse files Browse the repository at this point in the history
Co-authored-by: Lars Erik Wik <[email protected]>
  • Loading branch information
jakub-nt and larsewi authored Aug 28, 2024
1 parent 1e58e89 commit be48dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfbs/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def _clean_unused_modules(config=None):
return 0

def _someone_needs_me(this) -> bool:
if "added_by" not in this or is_module_added_manually(this["added_by"]):
if ("added_by" not in this) or is_module_added_manually(this["added_by"]):
return True
for other in modules:
if not "dependencies" in other:
Expand Down

0 comments on commit be48dc6

Please sign in to comment.