[Pkg-javascript-commits] [node-jade] 09/14: add fix tests, right calling nodejs

Leo Iannacone l3on-guest at moszumanska.debian.org
Fri Oct 17 11:16:31 UTC 2014


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

l3on-guest pushed a commit to branch master
in repository node-jade.

commit 87fcadd879cb0de25ecf812d1c02698e595b2bd1
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Fri Oct 17 13:10:03 2014 +0200

    add fix tests, right calling nodejs
---
 debian/patches/0001_fix_nodejs_shebang.path | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/debian/patches/0001_fix_nodejs_shebang.path b/debian/patches/0001_fix_nodejs_shebang.path
index 80fd96d..6dd2547 100644
--- a/debian/patches/0001_fix_nodejs_shebang.path
+++ b/debian/patches/0001_fix_nodejs_shebang.path
@@ -3,8 +3,9 @@ Author: Leo Iannacone <l3on at ubuntu.com>
 Forwarded: not-needed
 
 ---
- bin/jade.js |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ bin/jade.js          |    2 +-
+ test/command-line.js |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
 
 --- a/bin/jade.js
 +++ b/bin/jade.js
@@ -14,3 +15,14 @@ Forwarded: not-needed
  
  /**
   * Module dependencies.
+--- a/test/command-line.js
++++ b/test/command-line.js
+@@ -6,7 +6,7 @@
+ var exec = require('child_process').exec;
+ 
+ function run(args, callback) {
+-  exec('node ' + JSON.stringify(path.resolve(__dirname + '/../bin/jade.js')) + ' ' + args, {
++  exec('nodejs ' + JSON.stringify(path.resolve(__dirname + '/../bin/jade.js')) + ' ' + args, {
+     cwd: __dirname + '/temp'
+   }, callback);
+ }

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



More information about the Pkg-javascript-commits mailing list