aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/main.js')
-rw-r--r--lib/main.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/main.js b/lib/main.js
index a5700d6..9eb62f0 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -13,7 +13,6 @@
"use strict";
var prompts = require("prompts");
var logger = require("logger");
-var myStorage = require("simple-storage").storage;
var browser = require("tab-browser");
var selfMod = require("self");
var Request = require("request").Request;
@@ -89,13 +88,7 @@ function initialize(callback) {
}, this);
}
- if (!myStorage.logs) {
- myStorage.logs = {};
- }
-
- var logConstructor = logger.Logger;
- config.logger = new logConstructor(myStorage.logs,
- JSON.parse(selfMod.data.load("bugzillalabelAbbreviations.json")));
+ config.logger = new logger.Logger(JSON.parse(selfMod.data.load("bugzillalabelAbbreviations.json")));
config.matches = config.gJSONData.configData.matches;
config.skipMatches = config.matches.map(function(x) {