From 3a20aa45ec9c89653c92c90d25c41cac2d3f7edd Mon Sep 17 00:00:00 2001 From: Steve Snyder Date: Tue, 10 Jul 2018 15:10:39 -0400 Subject: [PATCH] use hex escapes instead of octal to satisfy overzealous linters --- lib/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.js b/lib/main.js index 488cc1a..263d68a 100644 --- a/lib/main.js +++ b/lib/main.js @@ -1,7 +1,7 @@ var QRCode = require('./../vendor/QRCode'), QRErrorCorrectLevel = require('./../vendor/QRCode/QRErrorCorrectLevel'), - black = "\033[40m \033[0m", - white = "\033[47m \033[0m", + black = "\x1b[40m \x1b[0m", + white = "\x1b[47m \x1b[0m", toCell = function (isBlack) { return isBlack ? black : white; },