[Pkg-javascript-commits] [node-cliui] 01/01: set the chalk.enabled flag to true

Paolo Greppi paolog-guest at moszumanska.debian.org
Fri Dec 2 07:53:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

paolog-guest pushed a commit to branch master
in repository node-cliui.

commit edd8e6637d468a1e00ebba17fb02003c226076cc
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Tue Nov 29 16:56:13 2016 +0000

    set the chalk.enabled flag to true
    
    see: https://github.com/chalk/chalk#chalkenabled
---
 debian/patches/00-enable_chalk.diff | 13 +++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/00-enable_chalk.diff b/debian/patches/00-enable_chalk.diff
new file mode 100644
index 0000000..e1d7d1b
--- /dev/null
+++ b/debian/patches/00-enable_chalk.diff
@@ -0,0 +1,13 @@
+Index: node-cliui/test/cliui.js
+===================================================================
+--- node-cliui.orig/test/cliui.js
++++ node-cliui/test/cliui.js
+@@ -6,6 +6,8 @@ var chalk = require('chalk')
+ var cliui = require('../')
+ var stripAnsi = require('strip-ansi')
+ 
++chalk.enabled = true;
++
+ describe('cliui', function () {
+   describe('div', function () {
+     it("wraps text at 'width' if a single column is given", function () {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9408a84
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-enable_chalk.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-cliui.git



More information about the Pkg-javascript-commits mailing list