fmt
This commit is contained in:
parent
aa2ff7b2f0
commit
ab118e0c1e
4 changed files with 27 additions and 18 deletions
|
|
@ -87,12 +87,12 @@ let supported_lang_arr, supported_ext_arr =
|
|||
let lang_l =
|
||||
path_l
|
||||
|> List.map (fun path ->
|
||||
match Fpath.segs path with
|
||||
| [] -> assert false
|
||||
| [ dir; _file ] -> dir
|
||||
| _l ->
|
||||
Fmt.failwith "invalid folder structure, file `%s` is misplaced"
|
||||
(Fpath.to_string path))
|
||||
match Fpath.segs path with
|
||||
| [] -> assert false
|
||||
| [ dir; _file ] -> dir
|
||||
| _l ->
|
||||
Fmt.failwith "invalid folder structure, file `%s` is misplaced"
|
||||
(Fpath.to_string path))
|
||||
|> List.sort_uniq String.compare
|
||||
in
|
||||
let () =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue