[Pkg-javascript-commits] [node-global-modules] 03/05: refresh patches

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Jan 24 12:06:34 UTC 2018


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

praveen pushed a commit to branch master
in repository node-global-modules.

commit 552d9b0234612e6573ea67c941872a9f497c5ec9
Author: Pirate Praveen <praveen at debian.org>
Date:   Wed Jan 24 17:34:33 2018 +0530

    refresh patches
---
 debian/patches/fix-global-module-path.patch | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/debian/patches/fix-global-module-path.patch b/debian/patches/fix-global-module-path.patch
index b2b5389..808770c 100644
--- a/debian/patches/fix-global-module-path.patch
+++ b/debian/patches/fix-global-module-path.patch
@@ -1,11 +1,11 @@
-Index: node-global-modules/index.js
-===================================================================
---- node-global-modules.orig/index.js
-+++ node-global-modules/index.js
-@@ -14,5 +14,5 @@ var isWindows = require('is-windows');
- if (isWindows()) {
-   module.exports = path.resolve(prefix, 'node_modules');
- } else {
--  module.exports = path.resolve(prefix, 'lib/node_modules');
-+  module.exports = path.resolve(prefix, 'lib/nodejs');
+--- a/index.js
++++ b/index.js
+@@ -16,7 +16,7 @@
+   if (isWindows()) {
+     return path.resolve(prefix, 'node_modules');
+   }
+-  return path.resolve(prefix, 'lib/node_modules');
++  return path.resolve(prefix, 'lib/nodejs');
  }
+ 
+ /**

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



More information about the Pkg-javascript-commits mailing list