mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Runtime '_' is concatenated with conf one.
This commit is contained in:
parent
9311f138c0
commit
96fd06860b
6
jsdoc.js
6
jsdoc.js
@ -160,10 +160,14 @@ 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) || opt=='_' && env.opts['_'] && env.opts['_'].length<1) {
|
||||
if (!(opt in env.opts)) {
|
||||
env.opts[opt] = env.conf.opts[opt];
|
||||
}
|
||||
}
|
||||
// command file list is concatenated after conf list
|
||||
if( env.conf.opts._ ){
|
||||
env.opts._ = env.conf.opts._.concat( env.opts._ );
|
||||
}
|
||||
}
|
||||
|
||||
if (env.opts.query) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user