[Pkg-javascript-commits] [node-mocha] 08/15: Can fail with missing coffeescript module

Jérémy Lal kapouer at moszumanska.debian.org
Mon Apr 11 22:45:16 UTC 2016


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

kapouer pushed a commit to branch debian/1.20
in repository node-mocha.

commit c9c8500de6010ad85e2dcebfb13706160783e256
Author: Jérémy Lal <kapouer at melix.org>
Date:   Tue Apr 12 00:27:13 2016 +0200

    Can fail with missing coffeescript module
---
 debian/patches/register-coffeescript.patch | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/patches/register-coffeescript.patch b/debian/patches/register-coffeescript.patch
index 4e7b544..2759653 100644
--- a/debian/patches/register-coffeescript.patch
+++ b/debian/patches/register-coffeescript.patch
@@ -5,11 +5,15 @@ Author: Jérémy Lal <kapouer at melix.org>
 Forwarded: not-needed
 --- a/lib/utils.js
 +++ b/lib/utils.js
-@@ -7,6 +7,7 @@
+@@ -7,6 +7,11 @@
    , join = path.join
    , debug = require('debug')('mocha:watch');
  
-+require('coffee-script/register');
++try {
++	require('coffee-script/register');
++} catch(ex) {
++}
++
  /**
   * Ignored directories.
   */

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



More information about the Pkg-javascript-commits mailing list