Skip to content

Commit

Permalink
Revert "fix seg fault"
Browse files Browse the repository at this point in the history
This reverts commit 8b30aa4 with a null-check of api.Respository pointer.
The change in commit f196b fixes the nil api.Repository pointer.
  • Loading branch information
Aviram Sterman committed Apr 20, 2019
1 parent 45983b5 commit 83b14c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func (ds *deps) exists(s string, verbose bool) *dep {
return nil
}

if v.repo != nil && l != nil && v.repo.URL == l.URL {
if v.repo != nil && v.repo.URL == l.URL {
l.Exists = true
}
}
Expand Down

0 comments on commit 83b14c9

Please sign in to comment.