File: fix-doc-path.diff

package info (click to toggle)
node-help-me 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 156 kB
  • sloc: javascript: 245; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 506 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: fix default doc path
Author: Xavier Guimard <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2019-07-22

Index: node-help-me/help-me.js
===================================================================
--- node-help-me.orig/help-me.js
+++ node-help-me/help-me.js
@@ -6,7 +6,7 @@ const { PassThrough, pipeline } = requir
 const glob = require('glob')
 
 const defaults = {
-  dir: path.join(path.dirname(require.main.filename), 'doc'),
+  dir: './doc',
   ext: '.txt',
   help: 'help'
 }