Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use strict in lib/utils.js

  • Loading branch information...
commit b54f30e936646de663b7e69170978bfa9050cae7 1 parent 9710ec7
@creationix authored
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.
Something went wrong with that request. Please try again.