fastlane/lib/fastlane/lane_manager.rb in fastlane-2.180.1 vs fastlane/lib/fastlane/lane_manager.rb in fastlane-2.181.0
- old
+ new
@@ -105,26 +105,27 @@
UI.message("Welcome to fastlane! Here's what your app is set up to do:")
puts(table)
+ fastlane_command = Helper.bundler? ? "bundle exec fastlane" : "fastlane"
i = UI.input("Which number would you like run?")
i = i.to_i - 1
if i >= 0 && available[i]
selection = available[i].last.pretty_name
- UI.important("Running lane `#{selection}`. Next time you can do this by directly typing `fastlane #{selection}` 🚀.")
+ UI.important("Running lane `#{selection}`. Next time you can do this by directly typing `#{fastlane_command} #{selection}` 🚀.")
platform = selection.split(' ')[0]
lane_name = selection.split(' ')[1]
unless lane_name # no specific platform, just a root lane
lane_name = platform
platform = nil
end
return platform, lane_name # yeah
else
- UI.user_error!("Run `fastlane` the next time you need to build, test or release your app 🚀")
+ UI.user_error!("Run `#{fastlane_command}` the next time you need to build, test or release your app 🚀")
end
end
end
end