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 {
16
16
this . requireConfig = options . config || options . requireConfig ;
17
17
this . webpackConfig = options . webpackConfig ;
18
18
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 ;
22
21
this . tsConfig = options . tsConfig ;
23
22
this . tsConfigPath = options . tsConfigPath ;
24
23
this . noTypeDefinitions = options . noTypeDefinitions ;
25
24
this . filter = options . filter ;
25
+ this . detectiveConfig = options . detective || options . detectiveConfig || { } ;
26
+ this . detectiveConfig . includeCore = this . includeCore ;
27
+ this . detectiveConfig . includeNonExisting = this . includeNonExisting ;
26
28
27
29
if ( ! this . filename ) throw new Error ( 'filename not given' ) ;
28
30
if ( ! this . directory ) throw new Error ( 'directory not given' ) ;
You can’t perform that action at this time.
0 commit comments