Fixed: set default empty tokens configuration if nothing is passed.

Fixed: NPM on Windows doesn't like path in single quotes.
This commit is contained in:
Maxim Rubis
2018-06-07 09:13:17 -04:00
parent 6a103f3e61
commit 604aa8598d
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -11,6 +11,8 @@ class ClientManager {
constructor(opt) {
this.opt = opt || {};
this.opt.tokens = this.opt.tokens || {};
// id -> client instance
this.clients = new Map();