From 40c40c800a9247ddab10d8a41641a916d4d5a36b Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Mon, 26 Mar 2018 16:32:22 -0400 Subject: [PATCH] Prefer `exports` --- js/modules/messages_data_migrator.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/js/modules/messages_data_migrator.js b/js/modules/messages_data_migrator.js index c1b4f3e0d98..9ccb8c98ac2 100644 --- a/js/modules/messages_data_migrator.js +++ b/js/modules/messages_data_migrator.js @@ -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, -};