attempt to fix tests

This commit is contained in:
Baris Usakli
2019-01-15 13:38:42 -05:00
parent 65f6630722
commit c14dbfc6b7

View File

@@ -91,7 +91,7 @@ module.exports = function (Plugins) {
if (hook !== 'action:plugins.firehook') {
Plugins.fireHook('action:plugins.firehook', { hook: hook, params: params });
}
if (result) {
if (result !== undefined) {
callback(null, result);
} else {
callback();