mirror of https://github.com/calzoneman/sync.git
Use absolute path for counters.log
Puts it in line with the other uses of `Logger.Logger`. Allows running outside of pwd.
This commit is contained in:
parent
11d4c4ca62
commit
baf302f12c
|
@ -1,5 +1,6 @@
|
|||
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 io from 'socket.io';
|
||||
import Socket from 'socket.io/lib/socket';
|
||||
|
|
Loading…
Reference in New Issue