Update error message wording

This commit is contained in:
bagtoad 2024-11-19 16:25:22 -07:00
parent 4b73e55fd2
commit 83c5bf3589

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: 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)
errMsg := fmt.Errorf("%v %w: executable file named \"%s\" in %s is required to run the extension after install. Perhaps you need to build it?", cs.WarningIcon(), ErrExtensionExecutableNotFound, name, dir)
return errMsg
}
return nil