From ccbfb054b1dcd06d30924c4a83af1bac75d78c31 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Sat, 17 Aug 2019 13:57:12 +0900 Subject: [PATCH] Fix typos --- lib/bundler/cli.rb | 2 +- spec/bundler/other/major_deprecation_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 8b055dc902..661985d6e2 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -788,7 +788,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 #{name} " \ "'#{value}'`, and stop using this flag" end diff --git a/spec/bundler/other/major_deprecation_spec.rb b/spec/bundler/other/major_deprecation_spec.rb index 260a2cc55b..2a819c907c 100644 --- a/spec/bundler/other/major_deprecation_spec.rb +++ b/spec/bundler/other/major_deprecation_spec.rb @@ -288,7 +288,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 #{name} '#{value}'`, and stop using this flag" )