We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da7562 commit 01ce5fdCopy full SHA for 01ce5fd
lib/tasks/podcasts.rake
@@ -10,10 +10,10 @@ namespace :podcasts do
10
11
logger.info('==== START podcasts:upsert ====')
12
13
- ANCHOR_FM_RSS = (Rails.env.test? || Rails.env.staging?) ?
+ PODCAST_RSS = (Rails.env.test? || Rails.env.staging?) ?
14
Rails.root.join('spec', 'sample_anchorfm.rss').to_s :
15
'https://anchor.fm/s/54d501e8/podcast/rss'
16
- rss = RSS::Parser.parse(ANCHOR_FM_RSS, false)
+ rss = RSS::Parser.parse(PODCAST_RSS, false)
17
18
if rss.items.length.zero?
19
logger.info('No track exists. Maybe failed to set RSS URL?')
0 commit comments