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 /plugins update #1840

Merged
merged 1 commit into from Apr 19, 2023
Merged

Conversation

H3rnand3zzz
Copy link
Contributor

See commit messages

Before it tried to unload the plugin first and check the output.
But if broken plugin was loaded, then it couldn't unload it,
so before it require uninstall and install after it,
making update useless for plugin development purposes.

Unload is part of the uninstall so no unload is needed inside of the cmd function.

Refactoring of cmd_plugins_update.
Copy link
Member

@sjaeckel sjaeckel left a comment

Choose a reason for hiding this comment

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

very clean and easy to follow now!

👍

@jubalh jubalh added this to the next milestone Apr 19, 2023
@jubalh jubalh merged commit 3be0914 into profanity-im:master Apr 19, 2023
6 checks passed
@H3rnand3zzz H3rnand3zzz deleted the fix/plugins-unload branch August 22, 2023 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants