Skip to content

Commit 7ec5323

Browse files
committed
fix ci in some edge cases
1 parent 28cd66f commit 7ec5323

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: jscomp/core/js_packages_info.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ let add_npm_package_path (packages_info : t) (s : string) : t =
252252
Bsc_args.bad_arg ("invalid module system " ^ module_system)
253253
in
254254
let m =
255-
match Ext_string.split ~keep_empty:false s ':' with
255+
match Ext_string.split ~keep_empty:true s ':' with
256256
| [path] ->
257257
{module_system = NodeJS; path; suffix = Js}
258258
| [ module_system; path] ->

Diff for: lib/4.06.1/unstable/js_compiler.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -92641,7 +92641,7 @@ let add_npm_package_path (packages_info : t) (s : string) : t =
9264192641
Bsc_args.bad_arg ("invalid module system " ^ module_system)
9264292642
in
9264392643
let m =
92644-
match Ext_string.split ~keep_empty:false s ':' with
92644+
match Ext_string.split ~keep_empty:true s ':' with
9264592645
| [path] ->
9264692646
{module_system = NodeJS; path; suffix = Js}
9264792647
| [ module_system; path] ->

Diff for: lib/4.06.1/unstable/js_refmt_compiler.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -92641,7 +92641,7 @@ let add_npm_package_path (packages_info : t) (s : string) : t =
9264192641
Bsc_args.bad_arg ("invalid module system " ^ module_system)
9264292642
in
9264392643
let m =
92644-
match Ext_string.split ~keep_empty:false s ':' with
92644+
match Ext_string.split ~keep_empty:true s ':' with
9264592645
| [path] ->
9264692646
{module_system = NodeJS; path; suffix = Js}
9264792647
| [ module_system; path] ->

Diff for: lib/4.06.1/whole_compiler.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -370176,7 +370176,7 @@ let add_npm_package_path (packages_info : t) (s : string) : t =
370176370176
Bsc_args.bad_arg ("invalid module system " ^ module_system)
370177370177
in
370178370178
let m =
370179-
match Ext_string.split ~keep_empty:false s ':' with
370179+
match Ext_string.split ~keep_empty:true s ':' with
370180370180
| [path] ->
370181370181
{module_system = NodeJS; path; suffix = Js}
370182370182
| [ module_system; path] ->

0 commit comments

Comments
 (0)