deliver/lib/deliver/setup.rb in fastlane-2.39.0.beta.20170614010012 vs deliver/lib/deliver/setup.rb in fastlane-2.39.0.beta.20170615010031
- old
+ new
@@ -1,8 +1,10 @@
+require 'fastlane_core'
+
module Deliver
class Setup
def run(options)
- containing = (File.directory?("fastlane") ? 'fastlane' : '.')
+ containing = FastlaneCore::Helper.fastlane_enabled_folder_path
file_path = File.join(containing, 'Deliverfile')
data = generate_deliver_file(containing, options)
setup_deliver(file_path, data, containing, options)
end