-
Notifications
You must be signed in to change notification settings - Fork 782
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide dedicated message for obsolete shim case
When a shimmed command can't find usable plugin version, we used to do several detection then output suggestion to user. The original message assumes "preset" plugin version is not installed, which could be false when shimmed command has old `asdf-plugin:` version written, while not being updated when install newer plugin version. Here add small `preset_plugin_installed` flag to detect if any considered "missing" plugin is in fact exist. Print only simple message for it. Example output: Shimmed command 'yarn' has no matched plugin version Check the executable or try install yarn for your preset plugin version
- Loading branch information
Showing
2 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters