Skip to content

Commit

Permalink
removed_artifacts can not be None
Browse files Browse the repository at this point in the history
  • Loading branch information
allburov authored Aug 20, 2024
1 parent 8d4e2aa commit 9139967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artifactory_cleanup/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def main(self):
"file_count": summary.artifacts_removed,
"size": summary.artifacts_size
}
if summary.removed_artifacts is not None and self._output_artifacts:
if self._output_artifacts:
policy["removed_artifacts"] = summary.removed_artifacts
result["policies"].append(policy)
result["total_size"] = total_size
Expand Down

0 comments on commit 9139967

Please sign in to comment.