[Pkg-mozext-commits] [jpm.sh] 03/43: correcting the path to "./tests/" for the native loader case

Hema Prathaban hemaprathaban-guest at moszumanska.debian.org
Thu Aug 17 07:52:33 UTC 2017


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

hemaprathaban-guest pushed a commit to branch master
in repository jpm.sh.

commit 1573a51d274fe4df25783126f0480f26e031dadf
Author: Erik Vold <evold at mozilla.com>
Date:   Mon Oct 27 12:47:09 2014 -0700

    correcting the path to "./tests/" for the native loader case
---
 data/bootstrap.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/bootstrap.js b/data/bootstrap.js
index 45320a9..11b966f 100644
--- a/data/bootstrap.js
+++ b/data/bootstrap.js
@@ -141,7 +141,7 @@ const readPaths = (options, id, name, domain, baseURI, isNative=false) => {
   let paths = {
     "": "resource://gre/modules/commonjs/",
     "./": isNative ? baseURI : baseURI + name + '/lib/',
-    "./tests/": isNative ? baseURI : baseURI + name + '/tests/'
+    "./tests/": (isNative ? baseURI : baseURI + name + '/') + 'tests/'
   };
 
   Object.keys(options.manifest || {}).reduce((paths, prefix) => {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/jpm.sh.git



More information about the Pkg-mozext-commits mailing list