File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ let resolve_bs_package ~cwd (package : t) =
106
106
* npm_config_prefix, bs_custom_resolution allows these to specify the
107
107
* exact location of build cache, but on a per-package basis. Implemented as
108
108
* environment lookup to avoid invasive changes to bsconfig and mandates. *)
109
- let custom_resolution =
109
+ let custom_resolution () =
110
110
match Sys. getenv " bs_custom_resolution" with
111
111
| exception Not_found -> false
112
112
| "true" -> true
@@ -126,7 +126,7 @@ let pkg_name_as_variable pkg =
126
126
|> Str. global_replace regex_hyphen " _"
127
127
128
128
let resolve_bs_package ~cwd (pkg : t ) =
129
- if custom_resolution then
129
+ if custom_resolution () then
130
130
begin
131
131
Bsb_log. info " @{<info>Using Custom Resolution@}@." ;
132
132
let custom_pkg_loc = pkg_name_as_variable pkg ^ " __install" in
Original file line number Diff line number Diff line change @@ -8572,7 +8572,7 @@ let resolve_bs_package ~cwd (package : t) =
8572
8572
* npm_config_prefix, bs_custom_resolution allows these to specify the
8573
8573
* exact location of build cache, but on a per-package basis. Implemented as
8574
8574
* environment lookup to avoid invasive changes to bsconfig and mandates. *)
8575
- let custom_resolution =
8575
+ let custom_resolution () =
8576
8576
match Sys.getenv "bs_custom_resolution" with
8577
8577
| exception Not_found -> false
8578
8578
| "true" -> true
@@ -8592,7 +8592,7 @@ let pkg_name_as_variable pkg =
8592
8592
|> Str.global_replace regex_hyphen "_"
8593
8593
8594
8594
let resolve_bs_package ~cwd (pkg : t) =
8595
- if custom_resolution then
8595
+ if custom_resolution () then
8596
8596
begin
8597
8597
Bsb_log.info "@{<info>Using Custom Resolution@}@.";
8598
8598
let custom_pkg_loc = pkg_name_as_variable pkg ^ "__install" in
Original file line number Diff line number Diff line change @@ -8542,7 +8542,7 @@ let resolve_bs_package ~cwd (package : t) =
8542
8542
* npm_config_prefix, bs_custom_resolution allows these to specify the
8543
8543
* exact location of build cache, but on a per-package basis. Implemented as
8544
8544
* environment lookup to avoid invasive changes to bsconfig and mandates. *)
8545
- let custom_resolution =
8545
+ let custom_resolution () =
8546
8546
match Sys.getenv "bs_custom_resolution" with
8547
8547
| exception Not_found -> false
8548
8548
| "true" -> true
@@ -8562,7 +8562,7 @@ let pkg_name_as_variable pkg =
8562
8562
|> Str.global_replace regex_hyphen "_"
8563
8563
8564
8564
let resolve_bs_package ~cwd (pkg : t) =
8565
- if custom_resolution then
8565
+ if custom_resolution () then
8566
8566
begin
8567
8567
Bsb_log.info "@{<info>Using Custom Resolution@}@.";
8568
8568
let custom_pkg_loc = pkg_name_as_variable pkg ^ "__install" in
You can’t perform that action at this time.
0 commit comments