[Pkg-javascript-commits] [node-diffie-hellman] 67/88: working node 10 check

Bastien Roucariès rouca at moszumanska.debian.org
Thu May 4 10:19:17 UTC 2017


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

rouca pushed a commit to branch master
in repository node-diffie-hellman.

commit ebdec22c5b594a35e1cfd30d73d4dbf0b8d6ca77
Author: Calvin Metcalf <calvin.metcalf at gmail.com>
Date:   Mon Oct 26 18:58:25 2015 -0400

    working node 10 check
---
 test.js | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/test.js b/test.js
index 3aea4e6..5b40105 100644
--- a/test.js
+++ b/test.js
@@ -113,9 +113,6 @@ var i = 0;
 while (++i < 2) {
 	run(i);
 }
-function isNode10() {
-  return process.version && process.version.split('.').length === 3 && parseInt(process.version.split('.')[1], 10) === 10 && parseInt(process.version.split('.')[0] === 0)
-}
 if (!isNode10()) {
 	test('check errors', function (t) {
 		t.plan(5);

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



More information about the Pkg-javascript-commits mailing list