File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,15 @@ module.exports = class Config {
1616 this . requireConfig = options . config || options . requireConfig ;
1717 this . webpackConfig = options . webpackConfig ;
1818 this . nodeModulesConfig = options . nodeModulesConfig ;
19- this . detectiveConfig = options . detective || options . detectiveConfig || { } ;
20- this . detectiveConfig . includeCore = this . includeCore = options . includeCore || false ;
21- this . detectiveConfig . includeNonExisting = this . includeNonExisting = options . includeNonExisting || options . includeCore || false ;
19+ this . includeCore = options . includeCore || false ;
20+ this . includeNonExisting = options . includeNonExisting || options . includeCore || false ;
2221 this . tsConfig = options . tsConfig ;
2322 this . tsConfigPath = options . tsConfigPath ;
2423 this . noTypeDefinitions = options . noTypeDefinitions ;
2524 this . filter = options . filter ;
25+ this . detectiveConfig = options . detective || options . detectiveConfig || { } ;
26+ this . detectiveConfig . includeCore = this . includeCore ;
27+ this . detectiveConfig . includeNonExisting = this . includeNonExisting ;
2628
2729 if ( ! this . filename ) throw new Error ( 'filename not given' ) ;
2830 if ( ! this . directory ) throw new Error ( 'directory not given' ) ;
You can’t perform that action at this time.
0 commit comments