mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Allow to use runtime "_" in configuration file
This commit is contained in:
parent
279554f1a3
commit
9311f138c0
2
jsdoc.js
2
jsdoc.js
@ -160,7 +160,7 @@ function main() {
|
||||
if (env.conf.opts) {
|
||||
for (var opt in env.conf.opts) {
|
||||
// arguments passed in command are more important
|
||||
if (!(opt in env.opts)) {
|
||||
if (!(opt in env.opts) || opt=='_' && env.opts['_'] && env.opts['_'].length<1) {
|
||||
env.opts[opt] = env.conf.opts[opt];
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user