File: search_system_path.patch

package info (click to toggle)
node-es6-module-transpiler 0.10.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 712 kB
  • ctags: 434
  • sloc: makefile: 2; sh: 2
file content (15 lines) | stat: -rw-r--r-- 401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: search Debian's standard system path
Author: Julien Puydt
Forwarded: no

--- a/lib/file_resolver.js
+++ b/lib/file_resolver.js
@@ -68,6 +68,8 @@
     paths = [Path.dirname(fromModule.path)];
   }
 
+  paths.push('/usr/lib/nodejs')
+
   for (var i = 0, length = paths.length; i < length; i++) {
     var includePath = paths[i];
     var resolved = Path.resolve(includePath, importedPath);