[Pkg-javascript-commits] [node-tap] 17/19: Patch os-homedir out of a test

Jérémy Lal kapouer at moszumanska.debian.org
Sat Nov 12 01:03:57 UTC 2016


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

kapouer pushed a commit to branch master
in repository node-tap.

commit 29d1f5a96137066a6fe9dbfc2fa191aebb739f1d
Author: Jérémy Lal <kapouer at melix.org>
Date:   Sat Nov 12 01:51:50 2016 +0100

    Patch os-homedir out of a test
---
 debian/patches/use_available_modules.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/patches/use_available_modules.patch b/debian/patches/use_available_modules.patch
index c45873d..e721b6a 100644
--- a/debian/patches/use_available_modules.patch
+++ b/debian/patches/use_available_modules.patch
@@ -144,3 +144,14 @@ Last-Update: 2014-10-20
  
  function hasOwnProperty (obj, key) {
    return Object.prototype.hasOwnProperty.call(obj, key)
+--- a/test/rcfiles.js
++++ b/test/rcfiles.js
+@@ -7,7 +7,7 @@
+ // fake this one in case you have some weird stuff in ~/.taprc
+ var path = require('path')
+ process.env.HOME = path.resolve(__dirname, 'fixtures')
+-var osHomedir = require('os-homedir')
++var osHomedir = require('os').homedir
+ 
+ var defaults = {
+   nodeArgs: [],

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



More information about the Pkg-javascript-commits mailing list