[Pkg-javascript-commits] [node-asn1.js] 75/202: rfc: ensure test case isn't statically traced

Bastien Roucariès rouca at moszumanska.debian.org
Thu Apr 20 19:18:55 UTC 2017


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

rouca pushed a commit to branch master
in repository node-asn1.js.

commit e7f9abc1fc7d6d387fa1b135dcaa412d14bd9f33
Author: Guy Bedford <guybedford at gmail.com>
Date:   Fri Dec 26 19:33:47 2014 +0200

    rfc: ensure test case isn't statically traced
---
 rfc/2560/index.js | 4 ++--
 rfc/3280/index.js | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/rfc/2560/index.js b/rfc/2560/index.js
index df7558c..f7b988c 100644
--- a/rfc/2560/index.js
+++ b/rfc/2560/index.js
@@ -2,8 +2,8 @@ try {
   var asn1 = require('asn1.js');
   var rfc3280 = require('asn1.js-rfc3280');
 } catch (e) {
-  var asn1 = require('../..');
-  var rfc3280 = require('../3280');
+  var asn1 = require('../' + '..');
+  var rfc3280 = require('../' + '3280');
 }
 
 var OCSPResponse = asn1.define('OCSPResponse', function() {
diff --git a/rfc/3280/index.js b/rfc/3280/index.js
index be3ecd1..64f6ec3 100644
--- a/rfc/3280/index.js
+++ b/rfc/3280/index.js
@@ -1,7 +1,7 @@
 try {
   var asn1 = require('asn1.js');
 } catch (e) {
-  var asn1 = require('../..');
+  var asn1 = require('../' + '..');
 }
 
 var CRLReason = asn1.define('CRLReason', function() {

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



More information about the Pkg-javascript-commits mailing list