Skip to content

Commit b181032

Browse files
committed
Can now set the JSDOC_PATH env variable to use your own jsdoc fork
1 parent b162130 commit b181032

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8264,7 +8264,7 @@ class JsdocCommand {
82648264
this.options = options;
82658265
this.jsdocOptions = jsdocOptions;
82668266

8267-
this.jsdocPath = walkBack(
8267+
this.jsdocPath = process.env.JSDOC_PATH || walkBack(
82688268
path$1.join(__dirname$1, '..'),
82698269
path$1.join('node_modules', 'jsdoc', 'jsdoc.js')
82708270
);

lib/jsdoc-command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class JsdocCommand {
3333
this.options = options
3434
this.jsdocOptions = jsdocOptions
3535

36-
this.jsdocPath = walkBack(
36+
this.jsdocPath = process.env.JSDOC_PATH || walkBack(
3737
path.join(__dirname, '..'),
3838
path.join('node_modules', 'jsdoc', 'jsdoc.js')
3939
)

0 commit comments

Comments
 (0)