From 099fd43ecc70f862e5346b61c80d89f8ec61038b Mon Sep 17 00:00:00 2001 From: Iulian Onofrei <6d0847b9@opayq.com> Date: Sun, 17 Nov 2019 02:53:22 +0200 Subject: [PATCH] =?UTF-8?q?[ensure=5Fbundle=5Fexec]=20Fix=20wording=20in?= =?UTF-8?q?=20action=20error=20message=20and=20d=E2=80=A6=20(#15596)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix wording in action error message and description * Fix wording Co-authored-by: Jan Piotrowski --- fastlane/lib/fastlane/actions/ensure_bundle_exec.rb | 6 +++--- fastlane/lib/fastlane/cli_tools_distributor.rb | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fastlane/lib/fastlane/actions/ensure_bundle_exec.rb b/fastlane/lib/fastlane/actions/ensure_bundle_exec.rb index 3474ad726d0..caae2c8f30b 100644 --- a/fastlane/lib/fastlane/actions/ensure_bundle_exec.rb +++ b/fastlane/lib/fastlane/actions/ensure_bundle_exec.rb @@ -10,7 +10,7 @@ def self.run(params) if FastlaneCore::Helper.bundler? UI.success("Using bundled fastlane ✅") else - UI.user_error!("fastlane detected a Gemfile in the current directory. However it seems like you don't use `bundle exec`. Use `bundle exec fastlane #{ARGV.join(' ')}`") + UI.user_error!("fastlane detected a Gemfile in the current directory. However, it seems like you didn't use `bundle exec`. Use `bundle exec fastlane #{ARGV.join(' ')}` instead.") end end @@ -24,8 +24,8 @@ def self.description def self.details [ - "This action will check if you are using bundle exec to run fastlane.", - "You can put it into `before_all` and make sure that fastlane is run using `bundle exec fastlane` command." + "This action will check if you are using `bundle exec` to run fastlane.", + "You can put it into `before_all` to make sure that fastlane is ran using the `bundle exec fastlane` command." ].join("\n") end diff --git a/fastlane/lib/fastlane/cli_tools_distributor.rb b/fastlane/lib/fastlane/cli_tools_distributor.rb index e3e07eb6945..4cacadb6eb2 100644 --- a/fastlane/lib/fastlane/cli_tools_distributor.rb +++ b/fastlane/lib/fastlane/cli_tools_distributor.rb @@ -142,8 +142,8 @@ def print_bundle_exec_warning(is_slow: false) # Let's tell the user how to use `bundle exec` # We show this warning no matter if the command is slow or not UI.important("fastlane detected a Gemfile in the current directory") - UI.important("however it seems like you don't use `bundle exec`") - UI.important("to launch fastlane faster, please use") + UI.important("However, it seems like you didn't use `bundle exec`") + UI.important("To launch fastlane faster, please use") UI.message("") UI.command "bundle exec fastlane #{ARGV.join(' ')}" UI.message("")