lib/deliver/commands_generator.rb in deliver-1.6.3 vs lib/deliver/commands_generator.rb in deliver-1.6.4

- old
+ new

@@ -72,11 +72,11 @@ c.action do |args, options| options = FastlaneCore::Configuration.create(Deliver::Options.available_options, options.__hash__) options.load_configuration_file("Deliverfile") Deliver::Runner.new(options) # to login... - path = options[:screenshots_path] || (FastlaneCore::Helper.fastlane_enabled? ? './fastlane' : '.') + path = (FastlaneCore::Helper.fastlane_enabled? ? './fastlane' : '.') Deliver::DownloadScreenshots.run(options, path) end end command :download_metadata do |c| @@ -85,10 +85,10 @@ c.action do |args, options| options = FastlaneCore::Configuration.create(Deliver::Options.available_options, options.__hash__) options.load_configuration_file("Deliverfile") Deliver::Runner.new(options) # to login... - path = options[:metadata_path] || (FastlaneCore::Helper.fastlane_enabled? ? './fastlane' : '.') + path = (FastlaneCore::Helper.fastlane_enabled? ? './fastlane' : '.') res = ENV["DELIVER_FORCE_OVERWRITE"] res ||= agree("Do you want to overwrite existing metadata on path '#{File.expand_path(path)}/metadata'? (y/n)", true) if res require 'deliver/setup' v = options[:app].latest_version