@ -294,8 +294,10 @@ var fs = require('fs'),
Plugins.loadedHooks[data.hook] = Plugins.loadedHooks[data.hook] || [];
Plugins.loadedHooks[data.hook].push(data);
if (typeof callback === 'function') {
callback();
}
};
Plugins.hasListeners = function(hook) {