lib/sifttter_redux/sifttter.rb in sifttter-redux-0.4.6 vs lib/sifttter_redux/sifttter.rb in sifttter-redux-0.4.7

- old
+ new

@@ -46,11 +46,10 @@ date_regex = "(?:#{ date.strftime("%B") } 0?#{ date.strftime("%-d") }, #{ date.strftime("%Y") })" time_regex = "(?:\d{1,2}:\d{1,2}\s?[AaPpMm]{2})" files = `find #{ Configuration['sifttter_redux']['sifttter_local_filepath'] } -type f -name "*.txt" | grep -v -i daily | sort` if files.empty? - m = "Couldn't download Sifttter files; is #{ Configuration['sifttter_redux']['sifttter_remote_filepath'] } the correct remote filepath?" - CLIMessage.error(m) + CLIMessage::error("No Sifttter files to parse; is #{ Configuration['sifttter_redux']['sifttter_remote_filepath'] } the correct remote filepath?") return end projects = [] files.split("\n").each do |file|