Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
We want to update the original repo, not a fresh one.

This went undetected because the `git commit` command inside the
`update_git` method ignores failures, and in this case it was failing
because all files are untracked in the new repo.

I will fix that later but for now fix the typo.
  • Loading branch information
deivid-rodriguez committed Oct 8, 2021
1 parent 9b43650 commit c889f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundler/spec/commands/clean_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def should_not_have_gems(*gems)
bundle "config set path vendor/bundle"
bundle "install"

update_git "foo", :path => lib_path("foo-bar")
update_git "foo-bar", :path => lib_path("foo-bar")
revision2 = revision_for(lib_path("foo-bar"))

bundle "update", :all => true
Expand Down

0 comments on commit c889f1d

Please sign in to comment.