Skip to content

Commit

Permalink
roll back winston and ws version to fix master server
Browse files Browse the repository at this point in the history
  • Loading branch information
inolen authored and Anthony Pesch committed Mar 15, 2019
1 parent f16db69 commit 0b506e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions bin/web.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var _ = require('underscore');
var express = require('express');
var http = require('http');
const { createLogger, format, transports } = require('winston');
var logger = require('winston');
var opt = require('optimist');
var path = require('path');

Expand All @@ -14,10 +14,7 @@ if (argv.h || argv.help) {
return;
}

const logger = createLogger({
format: format.simple(),
transports: [new transports.Console()]
});
logger.cli();
logger.level = 'debug';

var config = loadConfig(argv.config);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"send": "^0.16.2",
"temp": "~0.5.1",
"underscore": "~1.5.1",
"winston": "^3.1.0",
"winston": "2.4.0",
"wrench": "~1.5.4",
"ws": "^6.1.2"
"ws": "~0.4.29"
}
}

0 comments on commit 0b506e9

Please sign in to comment.