From 6afeac375b2ed7bf49a84b6428384dce8ffc37af Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 31 Aug 2021 11:33:20 -0400 Subject: [PATCH] fix: automated tests are a good thing to have --- src/plugins/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/install.js b/src/plugins/install.js index 4b3111d56c..8c0f6c644a 100644 --- a/src/plugins/install.js +++ b/src/plugins/install.js @@ -66,7 +66,7 @@ module.exports = function (Plugins) { } meta.reloadRequired = true; const hook = isActive ? 'deactivate' : 'activate'; - Plugins.hooks.fire(`action:plugin.${isActive}`, { id: id }); + Plugins.hooks.fire(`action:plugin.${hook}`, { id: id }); return { id: id, active: !isActive }; };