Skip to content

Commit a6dec3d

Browse files
committed
do not use unavailable fn
1 parent 245a6a3 commit a6dec3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/src/tools.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,9 @@ module Migrate = struct
14681468
} ) ->
14691469
Some (arg_name, label)
14701470
| _ -> None)
1471-
|> StringMap.of_list
1471+
|> List.fold_left
1472+
(fun map (k, v) -> StringMap.add k v map)
1473+
StringMap.empty
14721474

14731475
let apply_migration_template ?(is_pipe = false) mapper template_args
14741476
source_args =

0 commit comments

Comments
 (0)