Update language for missing extension executable

Co-authored-by: Tyler McGoffin <jtmcg@github.com>
This commit is contained in:
Kynan Ware 2024-11-18 16:25:07 -07:00 committed by GitHub
parent 2ec27ff9fe
commit bb3b64ad06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -209,7 +209,7 @@ func (m *Manager) InstallLocal(dir string) error {
// it does indicate that the user will not be able to run the extension until
// the executable file is built or created manually somehow.
if _, err := os.Stat(filepath.Join(dir, name)); err != nil {
errMsg := fmt.Errorf("%v %w: expected executable file named \"%s\" in %s, perhaps you need to build it?", cs.WarningIcon(), ErrExtensionExecutableNotFound, name, dir)
errMsg := fmt.Errorf("%v %w: executable file named \"%s\" in %s is required for the extension to run after install. Perhaps you need to build it?", cs.WarningIcon(), ErrExtensionExecutableNotFound, name, dir)
return errMsg
}
return nil