Skip to content

Commit 6d5b666

Browse files
committed
Renamed variable
1 parent 6ac5f7a commit 6d5b666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/core/install.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ func PlatformInstall(ctx context.Context, req *rpc.PlatformInstallRequest,
4444
PlatformArchitecture: req.Architecture,
4545
PlatformVersion: version,
4646
}
47-
platform, tools, err := pm.FindPlatformReleaseDependencies(ref)
47+
platformRelease, tools, err := pm.FindPlatformReleaseDependencies(ref)
4848
if err != nil {
4949
return nil, &arduino.PlatformNotFoundError{Platform: ref.String(), Cause: err}
5050
}
5151

52-
didInstall, err := installPlatform(pm, platform, tools, downloadCB, taskCB, req.GetSkipPostInstall())
52+
didInstall, err := installPlatform(pm, platformRelease, tools, downloadCB, taskCB, req.GetSkipPostInstall())
5353
if err != nil {
5454
return nil, err
5555
}

0 commit comments

Comments
 (0)