-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash when updating git dependencies
If there's an evaled gemfile that also includes git dependencies, it would result in a crash like the following: ``` Failure/Error: dependency.requirements. find { |f| f[:file] == file.name }. fetch(:source).fetch(:ref) NoMethodError: undefined method `fetch' for nil:NilClass fetch(:source).fetch(:ref) ``` We need to check the Gemfile name being updated, not generic names when figuring out if we should update any git pins.
- Loading branch information
1 parent
508536b
commit 3a8bfc1
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters