Skip to content

Commit

Permalink
Merge pull request #34 from mateoradman/33-no-episodes-found-when-run…
Browse files Browse the repository at this point in the history
…ning-tv-show-related-commands

#33: continue instead of return to prevent aborting an action in case…
  • Loading branch information
mateoradman authored Jun 7, 2024
2 parents 054a4d1 + 146bbd0 commit c2d00a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ impl Action {
sub_pb.set_length(num_episodes);
if num_episodes == 0 {
sub_pb.finish_with_message("No episodes found");
return Ok(());
continue;
}
for episode in response.data {
self.process_episode_subtitle(&sub_pb, episode).await;
Expand Down

0 comments on commit c2d00a4

Please sign in to comment.