From 53addf482502e3a17a65b618e46fd1efe345802a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Thu, 28 Jan 2021 14:35:20 +0100 Subject: [PATCH] Fix bug in /upload The localpath was used instead of the filepath which broke the reference. --- lib/model.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model.ml b/lib/model.ml index 5a1becf..80db6d0 100644 --- a/lib/model.ml +++ b/lib/model.ml @@ -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