Prefer exports

This commit is contained in:
Daniel Gasienica 2018-03-26 16:32:22 -04:00
parent da144edc56
commit 40c40c800a

View file

@ -3,7 +3,7 @@ const isFunction = require('lodash/isFunction');
const Message = require('./types/message');
const processNext = async ({
exports.processNext = async ({
BackboneMessage,
BackboneMessageCollection,
count,
@ -92,8 +92,3 @@ const _fetchMessagesRequiringSchemaUpgrade =
resolve(messages);
}));
};
module.exports = {
processNext,
};