Fix parsing of package field when there is no public_name
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
This commit is contained in:
parent
f748a33aae
commit
3115b657fd
|
@ -1063,7 +1063,7 @@ module Executables = struct
|
|||
in
|
||||
match to_install with
|
||||
| [] ->
|
||||
(field_o "package" loc >>= function
|
||||
(field_o "package" (junk >>> loc) >>= function
|
||||
| None -> return (t, None)
|
||||
| Some loc ->
|
||||
Loc.warn loc
|
||||
|
|
Loading…
Reference in New Issue