Skip to content

Commit

Permalink
Fixup dangling if expression
Browse files Browse the repository at this point in the history
  • Loading branch information
svevang committed Aug 3, 2023
1 parent aca1bba commit 23981a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/apple/publisher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ def only_episodes_with_apple_state(eps)
# Only select episodes that have an remote apple state,
# as determined by the sync log
eps.reject do |ep|
Rails.logger.info("Episode lacks remote Apple state", {episode_id: ep.feeder_id}) if
Rails.logger.info("Episode lacks remote Apple state", {episode_id: ep.feeder_id}) if ep.apple_new?

ep.apple_new?
end
end
Expand Down

0 comments on commit 23981a9

Please sign in to comment.