[Pkg-javascript-commits] [node-is-promise] 04/05: Use assert rather than better-assert

Paolo Greppi paolog-guest at moszumanska.debian.org
Mon Dec 19 11:45:37 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-is-promise.

commit 27309b5267bafa4f98abf61279ca75a38b7d8533
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Mon Dec 19 11:33:46 2016 +0000

    Use assert rather than better-assert
    
    (the latter is not yet available as a Debian package)
---
 debian/patches/00-assert.diff | 16 ++++++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/00-assert.diff b/debian/patches/00-assert.diff
new file mode 100644
index 0000000..87e569b
--- /dev/null
+++ b/debian/patches/00-assert.diff
@@ -0,0 +1,16 @@
+Description: Use assert rather than better-assert (the latter is not
+ yet available as a Debian package).
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-is-promise/test.js
+===================================================================
+--- node-is-promise.orig/test.js
++++ node-is-promise/test.js
+@@ -1,5 +1,5 @@
+ var isPromise = require('./');
+-var assert = require('better-assert');
++var assert = require('assert');
+ 
+ // This looks similar enough to a promise
+ // that promises/A+ says we should treat
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f734f4e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-assert.diff

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



More information about the Pkg-javascript-commits mailing list