Skip to content

Commit

Permalink
Merge pull request #3959 from rubygems/typofix
Browse files Browse the repository at this point in the history
Fix typo in `bundle pristine` warning message

(cherry picked from commit d52796c)
  • Loading branch information
hsbt authored and deivid-rodriguez committed Oct 5, 2020
1 parent d921b38 commit 3ccbe3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bundler/lib/bundler/cli/pristine.rb
Expand Up @@ -30,7 +30,7 @@ def run
FileUtils.rm_rf spec.full_gem_path
when Source::Git
if source.local?
Bundler.ui.warn("Cannot pristine #{gem_name}. Gem is locally overriden.")
Bundler.ui.warn("Cannot pristine #{gem_name}. Gem is locally overridden.")
next
end

Expand Down
2 changes: 1 addition & 1 deletion bundler/spec/commands/pristine_spec.rb
Expand Up @@ -93,7 +93,7 @@

bundle "pristine"
expect(changes_txt).to be_file
expect(err).to include("Cannot pristine #{spec.name} (#{spec.version}#{spec.git_version}). Gem is locally overriden.")
expect(err).to include("Cannot pristine #{spec.name} (#{spec.version}#{spec.git_version}). Gem is locally overridden.")
end
end

Expand Down

0 comments on commit 3ccbe3e

Please sign in to comment.