Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ape plugins list failed when no plugins installed. [APE-1425] #1683

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

antazoey
Copy link
Member

What I did

got an unhandled exception when attempting to list installed plugins when there werent any installed.

How I did it

When given an empty list in the helper function, return empty list.

How to verify it

  • Ensure no plugins installed.
  • Run ape plugins list

Checklist

  • All changes are completed
  • New test cases have been added

@vany365 vany365 changed the title fix: ape plugins list failed when no plugins installed. fix: ape plugins list failed when no plugins installed. [APE-1425] Sep 29, 2023
@@ -351,6 +351,8 @@ def test_get_project_figure_out_contracts_path(project):
to figure it out.
"""
project_path = WITH_DEPS_PROJECT / "renamed_contracts_folder"
(project_path / "ape-config.yaml").unlink(missing_ok=True) # Clean from prior.
Copy link
Member Author

Choose a reason for hiding this comment

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

hoping this addresses an intermittent failure i can not explain....

@antazoey antazoey merged commit d7f6f1b into ApeWorX:main Sep 29, 2023
16 checks passed
@antazoey antazoey deleted the fix/plugins-fix branch September 29, 2023 20:39
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.

2 participants