Skip to content

Commit fed439a

Browse files
[skip-changelog] Fix string indexing in tool not available for the current os error message (#2099)
1 parent 736d161 commit fed439a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ func (pme *Explorer) InstallTool(toolRelease *cores.ToolRelease, taskCB rpc.Task
313313

314314
toolResource := toolRelease.GetCompatibleFlavour()
315315
if toolResource == nil {
316-
return fmt.Errorf(tr("no compatible version of %s tools found for the current os, try contacting %s"),
316+
return fmt.Errorf(tr("no compatible version of %[1]s tools found for the current os, try contacting %[2]s"),
317317
toolRelease.Tool.Name, toolRelease.Tool.Package.Email)
318318
}
319319
destDir := pme.PackagesDir.Join(

0 commit comments

Comments
 (0)