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(extension/#2676): Part 1 - Fix error message with missing extension dependency #3007

Merged
merged 5 commits into from
Jan 19, 2021

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Jan 18, 2021

Issue: When an extension has a required dependency that is not installed, Onivim would fail to activate the extension silently.

Defect: Onivim was not properly handling the extension activation error - usually, it's a string, but in the case of a missing dependency, it is a JSON object - the parser was only handling the string case.

Fix: Implement a decoder to handle either case. Bubble up the activation error to the user.

Related #2676
Related #1058

@bryphe bryphe merged commit 81d162b into master Jan 19, 2021
@bryphe bryphe deleted the fix/extension/2676/1-dependency-error branch January 19, 2021 17:37
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.

1 participant