Skip to content

Commit

Permalink
fix: avoid crash in installer (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored Nov 11, 2021
1 parent f00a45a commit 86aaebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (i *Installer) Ensure(ctx context.Context, sources []src.Source) (string, e
}
}

if len(errs.Errors) > 0 {
if errs.ErrorOrNil() != nil {
return "", errs
}

Expand Down

0 comments on commit 86aaebb

Please sign in to comment.