Consider the following situation:
- User has added
lune-org/lune@version in a global manifest
- User has added
filiptibell/lune@version in a project-specific manifest
- Only
lune from the global manifest is installed by the user
- Try to run
lune in the project-specific manifest
Rokit will now be managing lune and only has the version from lune-org installed - meaning that when a user tries to run it under the project, and it refers to a tool from a different author, it will fail to run. This is caused by the Rokit runner not automatically prompting for and installing the new tool when necessary:
|
// TODO: Prompt for trust and install tool if not already installed |
Implementing the promt-trust-and-install mechanism here in the runner will fix the issue.