Skip to content

Commit 6e9ca2f

Browse files
committed
Removing if branch that is never reached
1 parent 6cbc60c commit 6e9ca2f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arduino/resources/download.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ func (r *DownloadResource) Download(downloadDir *paths.Path, config *downloader.
4646
// File is cached, nothing to do here
4747
return nil, nil
4848
}
49-
} else if err == nil {
50-
// resume download
5149
} else {
5250
return nil, fmt.Errorf(tr("getting archive file info: %s"), err)
5351
}

0 commit comments

Comments
 (0)