Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes #510
  • Loading branch information
KrauseFx committed Dec 10, 2015
1 parent d1bd2fd commit 8b3f61d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/deliver/commands_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def run
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
Expand All @@ -87,7 +87,7 @@ def run
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
Expand Down

0 comments on commit 8b3f61d

Please sign in to comment.