summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Zubkov <igor.zubkov@ag-force.com>2019-10-03 04:18:44 +0300
committerIgor Zubkov <igor.zubkov@ag-force.com>2019-10-03 04:18:44 +0300
commit7ab5476093c45a9824128ad6ba55f085024af6e3 (patch)
treef52fec183d6e4641066e04291cecd07eed1d2f04
parent8058b2e3178a0ac5775a07279811755cf23339f5 (diff)
downloadbundler-7ab5476093c45a9824128ad6ba55f085024af6e3.tar.gz
Fix typo
-rw-r--r--UPGRADING.md2
-rw-r--r--lib/bundler/cli.rb2
-rw-r--r--spec/other/major_deprecation_spec.rb4
3 files changed, 4 insertions, 4 deletions
diff --git a/UPGRADING.md b/UPGRADING.md
index 30d326795e..9cb2ae6e47 100644
--- a/UPGRADING.md
+++ b/UPGRADING.md
@@ -39,7 +39,7 @@ that we plan to make to this set of commands and options.
Remembering CLI options has been a source of historical confusion and bug
reports, not only for beginners but also for experienced users. A CLI tool
- should not behave differently accross exactly the same invokations _unless_
+ should not behave differently across exactly the same invokations _unless_
explicitly configured to do so. This is what configuration is about after all,
and things should never be silently configured without the user knowing about
it.
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index f2735fb654..45db2a3200 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -790,7 +790,7 @@ module Bundler
Bundler::SharedHelpers.major_deprecation 2,\
"The `#{flag_name}` flag is deprecated because it relies on being " \
- "remembered accross bundler invokations, which bundler will no longer " \
+ "remembered across bundler invokations, which bundler will no longer " \
"do in future versions. Instead please use `bundle config set #{name} " \
"'#{value}'`, and stop using this flag"
end
diff --git a/spec/other/major_deprecation_spec.rb b/spec/other/major_deprecation_spec.rb
index ec2cdbf99e..9fe76183ba 100644
--- a/spec/other/major_deprecation_spec.rb
+++ b/spec/other/major_deprecation_spec.rb
@@ -112,7 +112,7 @@ RSpec.describe "major deprecations" do
it "should print a deprecation warning", :bundler => "2" do
expect(deprecations).to include(
"The `--path` flag is deprecated because it relies on being " \
- "remembered accross bundler invokations, which bundler will no " \
+ "remembered across bundler invokations, which bundler will no " \
"longer do in future versions. Instead please use `bundle config set " \
"path 'vendor/bundle'`, and stop using this flag"
)
@@ -314,7 +314,7 @@ RSpec.describe "major deprecations" do
it "should print a deprecation warning", :bundler => "2" do
expect(deprecations).to include(
"The `#{flag_name}` flag is deprecated because it relies on " \
- "being remembered accross bundler invokations, which bundler " \
+ "being remembered across bundler invokations, which bundler " \
"will no longer do in future versions. Instead please use " \
"`bundle config set #{name} '#{value}'`, and stop using this flag"
)