lib/youtube_sync.rb in youtube_sync-0.0.1 vs lib/youtube_sync.rb in youtube_sync-0.0.2

- old
+ new

@@ -29,9 +29,11 @@ :default => File.join(ENV['HOME'], "Desktop", "Youtube", "links.txt") def perform dir, file = options[:dir], options[:file] + file = File.exist?(file) ? file : File.join(dir, file) + [dir, file].each do |required| say "#{required} not exist", :red and return unless File.exist?(required) end open(file, 'r').each_line do |video|