Skip to content

Conversation

@damilolaedwards
Copy link
Contributor

This PR fixes issue #152
During the execution of solc-select versions a conditional statement has now been added to preview if any solc-select versions have been installed prior before proceeding, if the check fails, the code block responsible for looking up and printing installed versions is skipped and an informational message is logged.

print(f"{version} (current, set by {source})")
else:
print(version)
if installed_versions():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you store the result and not call installed_versions twice

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed! thanks

@0xicingdeath 0xicingdeath merged commit ec04c67 into dev Feb 14, 2023
@0xicingdeath 0xicingdeath deleted the no-versions-error-fix branch February 14, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants