Skip to content

Commit

Permalink
[ensure_bundle_exec] Fix wording in action error message and d… (#15596)
Browse files Browse the repository at this point in the history
* Fix wording in action error message and description

* Fix wording


Co-authored-by: Jan Piotrowski <piotrowski+git@gmail.com>
  • Loading branch information
revolter and janpio committed Nov 17, 2019
1 parent d56b060 commit 099fd43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions fastlane/lib/fastlane/actions/ensure_bundle_exec.rb
Expand Up @@ -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

Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions fastlane/lib/fastlane/cli_tools_distributor.rb
Expand Up @@ -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("")
Expand Down

0 comments on commit 099fd43

Please sign in to comment.