Unverified Commit fed439a9 authored by MatteoPologruto's avatar MatteoPologruto Committed by GitHub

[skip-changelog] Fix string indexing in `tool not available for the current...

[skip-changelog] Fix string indexing in `tool not available for the current os` error message (#2099)
parent 736d1614
......@@ -313,7 +313,7 @@ func (pme *Explorer) InstallTool(toolRelease *cores.ToolRelease, taskCB rpc.Task
toolResource := toolRelease.GetCompatibleFlavour()
if toolResource == nil {
return fmt.Errorf(tr("no compatible version of %s tools found for the current os, try contacting %s"),
return fmt.Errorf(tr("no compatible version of %[1]s tools found for the current os, try contacting %[2]s"),
toolRelease.Tool.Name, toolRelease.Tool.Package.Email)
}
destDir := pme.PackagesDir.Join(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment