MCPcopy Create free account
hub / github.com/cli/cli / generateMissingBinaryIssueBody

Function generateMissingBinaryIssueBody

pkg/cmd/extension/manager.go:390–392  ·  view source on GitHub ↗
(currentPlatform string)

Source from the content-addressed store, hash-verified

388}
389
390func generateMissingBinaryIssueBody(currentPlatform string) string {
391 return fmt.Sprintf("This extension does not support the %[1]s architecture. I tried to install it on a %[1]s machine, and it failed due to the lack of an available binary. Would you be able to update the extension's build and release process to include the relevant binary? For more details, see <https://docs.github.com/en/github-cli/github-cli/creating-github-cli-extensions>.", currentPlatform)
392}
393
394func writeManifest(dir, name string, data []byte) (writeErr error) {
395 path := filepath.Join(dir, name)

Calls

no outgoing calls

Tested by

no test coverage detected