-
Notifications
You must be signed in to change notification settings - Fork 112
Closed
Description
solc-select/solc_select/solc_select.py
Lines 50 to 62 in 7b493c6
| if version not in installed_versions(): | |
| raise argparse.ArgumentTypeError( | |
| f"Version '{version}' not installed (set by {source}). Run `solc-select install {version}`." | |
| ) | |
| else: | |
| source = SOLC_SELECT_DIR.joinpath("global-version") | |
| if Path.is_file(source): | |
| with open(source, encoding="utf-8") as f: | |
| version = f.read() | |
| else: | |
| raise argparse.ArgumentTypeError( | |
| "No solc version set. Run `solc-select use VERSION` or set SOLC_VERSION environment variable." | |
| ) |
This is an issue if you delete the artifact but leave the version set
Metadata
Metadata
Assignees
Labels
No labels