From 3422550f2c9bf81d15686aca854325ae5e711029 Mon Sep 17 00:00:00 2001 From: Guillaume Wuip Date: Sat, 24 Jan 2015 09:09:52 +0100 Subject: [PATCH] Allow one log folder for multiple consoles --- lib/logWriter.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/logWriter.js b/lib/logWriter.js index dcea714..ae90d4c 100644 --- a/lib/logWriter.js +++ b/lib/logWriter.js @@ -31,13 +31,6 @@ this.rootPath = rootPath || 'logs'; - //Check if the folder is already in use - if (rootPaths.indexOf(this.rootPath) > -1) { - throw new Error('Folder ' + this.rootPath + ' already in use'); - } else { - rootPaths.push(this.rootPath); - } - //Init history this.initHistory(); };