File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -713,8 +713,8 @@ end = struct
713
713
| Some _ as r -> Ok r
714
714
| None -> Error `Not_found )
715
715
716
- let current_library_of_output lib_roots output =
717
- match find_root_of_output lib_roots output with
716
+ let current_library_of_input lib_roots input =
717
+ match find_root_of_output lib_roots input with
718
718
| Ok _ as ok -> ok
719
719
| Error `Not_found ->
720
720
Error (`Msg " The output file must be part of a directory passed as -L" )
@@ -768,7 +768,7 @@ end = struct
768
768
else Ok () )
769
769
>> = fun () ->
770
770
let is_page = is_page input in
771
- (if is_page then Ok None else current_library_of_output lib_roots output )
771
+ (if is_page then Ok None else current_library_of_input lib_roots input )
772
772
>> = fun current_lib ->
773
773
(if is_page then current_package_of_page ~current_package page_roots output
774
774
else validate_current_package page_roots current_package)
You can’t perform that action at this time.
0 commit comments