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(); };