fix: automated tests are a good thing to have

isekai-main
psychobunny 3 years ago
parent ae793b4a44
commit 6afeac375b

@ -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 };
};

Loading…
Cancel
Save