Merge pull request #540 from lolcow/patch-1

Use absolute path for counters.log
This commit is contained in:
Calvin Montgomery 2015-12-11 20:45:41 -08:00
commit cf67f1148f
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
var Logger = require('./logger'); var Logger = require('./logger');
var counterLog = new Logger.Logger('counters.log'); var path = require('path');
var counterLog = new Logger.Logger(path.resolve(__dirname, '..', 'counters.log'));
import os from 'os'; import os from 'os';
import io from 'socket.io'; import io from 'socket.io';
import Socket from 'socket.io/lib/socket'; import Socket from 'socket.io/lib/socket';