We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a90ccc1 commit 10a5d70Copy full SHA for 10a5d70
compiler/gentype/GenTypeConfig.ml
@@ -239,6 +239,7 @@ let read_config ~get_config_file ~namespace =
239
sources;
240
}
241
in
242
+ let default_config = {default with project_root; bsb_project_root} in
243
match get_config_file ~project_root with
244
| Some bs_config_file -> (
245
try
@@ -247,7 +248,7 @@ let read_config ~get_config_file ~namespace =
247
248
| Obj {map = bsconf} -> (
249
match bsconf |> get_opt "gentypeconfig" with
250
| Some (Obj {map = gtconf}) -> parse_config ~bsconf ~gtconf
- | _ -> default)
251
- | _ -> default
252
- with _ -> default)
253
- | None -> default
+ | _ -> default_config)
+ | _ -> default_config
+ with _ -> default_config)
254
+ | None -> default_config
0 commit comments