Browse files

use strict in lib/utils.js

  • Loading branch information...
1 parent 9710ec7 commit b54f30e936646de663b7e69170978bfa9050cae7 @creationix committed Feb 28, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/luvmonkey/utils.js
View
3 lib/luvmonkey/utils.js
@@ -1,3 +1,4 @@
+"use strict";
var colors = {
black: "0;30",
@@ -20,7 +21,7 @@ var colors = {
exports.color = color;
function color(colorName) {
- return "\033[" + (colors[colorName] || "0") + "m";
+ return "\u001b[" + (colors[colorName] || "0") + "m";
}
exports.colorize = colorize;

0 comments on commit b54f30e

Please sign in to comment.