[Pkg-javascript-commits] [node-chalk] 07/10: fix override detection patch
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Sat Jul 5 20:49:31 UTC 2014
This is an automated email from the git hooks/post-receive script.
andrewrk-guest pushed a commit to branch master
in repository node-chalk.
commit bf4951b7f53139a2d62cfd301a80294a4d31493c
Author: Andrew Kelley <superjoe30 at gmail.com>
Date: Sat Jul 5 18:26:25 2014 +0000
fix override detection patch
---
debian/patches/override-detection.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/patches/override-detection.patch b/debian/patches/override-detection.patch
index 391e053..98d06f7 100644
--- a/debian/patches/override-detection.patch
+++ b/debian/patches/override-detection.patch
@@ -10,10 +10,10 @@ Last-Update: 2014-07-01
+++ node-chalk-0.4.0/test.js
@@ -3,6 +3,8 @@
var assert = require('assert');
- var chalk = require('./index');
+ var chalk = require('./');
+chalk.enabled = true;
+
describe('chalk', function () {
it('should style string', function () {
- assert.equal(chalk.underline('foo'), '\x1b[4mfoo\x1b[24m');
+ assert.equal(chalk.underline('foo'), '\u001b[4mfoo\u001b[24m');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-chalk.git
More information about the Pkg-javascript-commits
mailing list