aboutsummaryrefslogtreecommitdiffstats
path: root/lib/logger.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-01-28 16:38:36 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-01-31 20:33:33 +0100
commit4a0bcc39b1e1b49dcaa0aa2ab674c6f1ba51e9e5 (patch)
tree642411d3b3b433e8903e0bbbbf46004a37477b58 /lib/logger.js
parent83a7d703cbabd6e514a6d8a948b39325b59e9f58 (diff)
downloadbugzilla-triage-4a0bcc39b1e1b49dcaa0aa2ab674c6f1ba51e9e5.tar.gz
Tons of fixes, we are almost in state that the primitive run is possible.
TOOD: * The most important part is we have to run libbz.initialize() and wait until it is done.
Diffstat (limited to 'lib/logger.js')
-rw-r--r--lib/logger.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/logger.js b/lib/logger.js
index f64a6e9..cbe670d 100644
--- a/lib/logger.js
+++ b/lib/logger.js
@@ -4,7 +4,6 @@
var urlMod = require("url");
var utilMod = require("util");
var fileMod = require("file");
-var Color = require("color").Color;
var tabs = require("tabs");
var prompts = require("prompts");
var apiUtils = require("api-utils");
@@ -12,8 +11,8 @@ var xrpc = require("xmlrpc");
var myStorage = require("simple-storage");
var Logger = exports.Logger = function Logger(abbsMap) {
- this.EmptyLogsColor = new Color(0, 255, 0);
- this.FullLogsColor = new Color(0, 40, 103);
+ this.EmptyLogsColor = rgb(0, 255, 0);
+ this.FullLogsColor = rgb(0, 40, 103);
if (!myStorage.storage.logs) {
myStorage.storage.logs = {};