fastlane/lib/fastlane/setup/setup.rb in fastlane-2.22.0.beta.20170321010023 vs fastlane/lib/fastlane/setup/setup.rb in fastlane-2.22.0

- old
+ new

@@ -1,9 +1,9 @@ module Fastlane class Setup # Start the setup process - def run + def run(user: nil) if FastlaneCore::FastlaneFolder.setup? and !Helper.is_test? UI.important("fastlane is already set up at path #{FastlaneCore::FastlaneFolder.path}") return end @@ -19,10 +19,10 @@ val = agree("Is this project an iOS project? (y/n) ".yellow, true) platform = (val ? :ios : :android) end if platform == :ios - SetupIos.new.run + SetupIos.new.run(user: user) elsif platform == :android SetupAndroid.new.run else UI.user_error!("Couldn't find platform '#{platform}'") end