Fix crash

This commit is contained in:
Girish Ramakrishnan
2018-11-30 16:51:57 -08:00
parent 006ab75433
commit 12a5965740

View File

@@ -89,7 +89,7 @@ AddonsError.NOT_SUPPORTED = 'Not Supported';
AddonsError.NOT_FOUND = 'Not Found';
AddonsError.NOT_ACTIVE = 'Not Active';
const NOOP = function (app, options, callback) { return callback(); };
const NOOP = function (callback) { return callback(); };
const NOOP_CALLBACK = function (error) { if (error) debug(error); };
const RMADDONDIR_CMD = path.join(__dirname, 'scripts/rmaddondir.sh');