Skip to content

Commit

Permalink
Remove target filter when comparing with last flag
Browse files Browse the repository at this point in the history
Signed-off-by: Wei-Chun, Chang <[email protected]>
  • Loading branch information
wcchang1115 committed Nov 3, 2023
1 parent 276a0c5 commit 0398eab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion piperider_cli/compare_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ def _walk_throw_runs(path):
def get_the_last_two_reports(self):
outputs = self.list_existing_outputs()
outputs.sort(key=lambda x: x.created_at)
outputs = list(filter(lambda x: x.name == outputs[-1].name, outputs))
if len(outputs) < 2:
return None, None
return outputs[-2:]
Expand Down

0 comments on commit 0398eab

Please sign in to comment.