mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-13 19:22:05 +00:00
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 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue