fix nil
This commit is contained in:
parent
018772dbfb
commit
f70f54615f
|
@ -110,6 +110,9 @@ func (f *Forge) CheckOverride(gopath string) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *Forge) TestGoDepsCheckOk(godeps *gitpb.GoDeps, verbose bool) error {
|
func (f *Forge) TestGoDepsCheckOk(godeps *gitpb.GoDeps, verbose bool) error {
|
||||||
|
if godeps == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
all := godeps.SortByGoPath()
|
all := godeps.SortByGoPath()
|
||||||
for all.Scan() {
|
for all.Scan() {
|
||||||
depRepo := all.Next()
|
depRepo := all.Next()
|
||||||
|
|
Loading…
Reference in New Issue