forked from mirrors/Scribe.js
Allow one log folder for multiple consoles
This commit is contained in:
parent
d0a85bb35e
commit
3422550f2c
1 changed files with 0 additions and 7 deletions
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue