download_file!

in report/download_artifacts.rb [113:129]


    def download_file!(url, filename)
      puts "Downloading #{filename} from #{url}"
      File.open(filename, 'w') do |downloaded_file|
        URI.open(url, 'rb') do |artifact_file|
          downloaded_file.write(artifact_file.read)
        end
      end
      puts "Successfully downloaded #{filename}"

      unless File.exist?(filename)
        warn "[!] Couldn't download #{filename}"
        exit 1
      end
    rescue StandardError => e
      abort e.message
    end