Skip to content

Commit f471c00

Browse files
committed
Fixed comments
1 parent 3d61814 commit f471c00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: arduino/cores/packagemanager/download.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func (pm *PackageManager) FindPlatformReleaseDependencies(item *PlatformReferenc
100100
return release, toolDeps, nil
101101
}
102102

103-
// DownloadToolRelease downloads a ToolRelease. If the tool is already downloaded a nil Response
103+
// DownloadToolRelease downloads a ToolRelease. If the tool is already downloaded a nil Downloader
104104
// is returned.
105105
func (pm *PackageManager) DownloadToolRelease(tool *cores.ToolRelease) (*downloader.Downloader, error) {
106106
resource := tool.GetCompatibleFlavour()
@@ -111,7 +111,7 @@ func (pm *PackageManager) DownloadToolRelease(tool *cores.ToolRelease) (*downloa
111111
}
112112

113113
// DownloadPlatformRelease downloads a PlatformRelease. If the platform is already downloaded a
114-
// nil Response is returned.
114+
// nil Downloader is returned.
115115
func (pm *PackageManager) DownloadPlatformRelease(platform *cores.PlatformRelease) (*downloader.Downloader, error) {
116116
return platform.Resource.Download(pm.DownloadDir)
117117
}

0 commit comments

Comments
 (0)