From 0c553d2f00e147c76bf59861dafd31916e6823bb Mon Sep 17 00:00:00 2001 From: Lamp Date: Fri, 7 Dec 2018 23:14:05 -0800 Subject: [PATCH] fof async --- src/datacollector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datacollector.js b/src/datacollector.js index 9ec41a7..b11edb0 100644 --- a/src/datacollector.js +++ b/src/datacollector.js @@ -5,7 +5,7 @@ var zlib = require('zlib'); // Collects inputted messages to a file and gzips them every time it reaches 8mb, // and sends it to the output callback function. // For recording websocket data to a discord channel. -module.exports = async function createWSMessageCollector(output) { // output func must be async +module.exports = function createWSMessageCollector(output) { // output func must be async var filepath = os.tmpdir() + "/" + Math.random().toString(36).substring(2); var size = 0; var startDate = new Date();