Skip to content

Commit

Permalink
Update readableAssets.py
Browse files Browse the repository at this point in the history
  • Loading branch information
risvh committed Mar 28, 2024
1 parent de7294f commit e77fcb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readableAssets.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,11 @@ def read_category_as_object_list(content):
category_before, category_after = [], []

if changed_file not in changes_added:
print(" ==================== NOT ADDED ")
category_before_output = run_command(f"git show {COMMIT_A}:{changed_file}")
category_before = read_category_as_object_list(category_before_output)
if changed_file not in changes_deleted:
print(" ==================== NOT DELETED ")
category_after_output = run_command(f"git show {COMMIT_B}:{changed_file}")
category_after = read_category_as_object_list(category_after_output)

Expand Down

0 comments on commit e77fcb0

Please sign in to comment.