Skip to content

Commit d82cebe

Browse files
committed
dev: remove useless condition
1 parent f946bcd commit d82cebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/goanalysis/runner_checker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func (act *action) analyze() {
9090
// Report an error if any dependency failures.
9191
var depErrors error
9292
for _, dep := range act.Deps {
93-
if dep.Err != nil && errors.Unwrap(dep.Err) != nil {
93+
if dep.Err != nil {
9494
depErrors = errors.Join(depErrors, errors.Unwrap(dep.Err))
9595
}
9696
}

0 commit comments

Comments
 (0)