Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ixzzd committed Dec 29, 2023
1 parent f8337c3 commit 6f7ae86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generator.ml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let process_int_type schema =
| _ -> failwith "int has unextected format"

let get_ref (ref : ref_) =
match ref |> String.split_on_char '/' |> List.rev with
match ref |> String.split_on_char '/' |> List.rev with
| type_name :: _ -> type_name
| _ -> failwith (Printf.sprintf "%s: can't resolve ref type name" ref)

Expand Down

0 comments on commit 6f7ae86

Please sign in to comment.