Skip to content

Commit

Permalink
Update plugin.go
Browse files Browse the repository at this point in the history
Co-authored-by: Danny <[email protected]>
  • Loading branch information
julienrbrt and salmad3 authored Dec 16, 2024
1 parent 2b91831 commit d326340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ignite/cmd/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ Respects key value pairs declared after the app path to be added to the generate

if err := plugins[0].Error; err != nil {
if strings.Contains(err.Error(), "go.mod file not found in current directory") {
return errors.Errorf("we can not find an app at the root of this repository (%s), please make sure your repository url is correct. If you're trying to install an app under a sub folder don't forget to add the path at the end of your repository url, e.g: github.com/ignite/apps/appregistry", args[0])
return errors.Errorf("Unable to find an App at the root of this repository (%s). Please ensure your repository URL is correct. If you're trying to install an App under a subfolder, include the path at the end of your repository URL, e.g., github.com/ignite/apps/appregistry", args[0])
}

return errors.Errorf("error while loading app %q: %w", args[0], plugins[0].Error)
Expand Down

0 comments on commit d326340

Please sign in to comment.