Fix bug in /upload

The localpath was used instead of the filepath which broke the
reference.
This commit is contained in:
Reynir Björnsson 2021-01-28 14:35:20 +01:00
parent 75fb497ac1
commit 53addf4825

View file

@ -130,7 +130,7 @@ let add_build
(Fpath.v "bin/")
file.Builder_db.filepath)
artifacts with
| [ main_binary ] -> Some main_binary.localpath
| [ main_binary ] -> Some main_binary.filepath
| [] ->
Log.debug (fun m -> m "Zero binaries for build %a" Uuidm.pp uuid);
None