diff --git a/src/core/opamDirTrack.ml b/src/core/opamDirTrack.ml index 9eed72c2d6f..45ed3a0ac88 100644 --- a/src/core/opamDirTrack.ml +++ b/src/core/opamDirTrack.ml @@ -60,7 +60,7 @@ let cached_digest = fun f size mtime -> try let csize, cmtime, digest = Hashtbl.find item_cache f in - if csize = size || mtime = cmtime then digest + if csize = size || mtime = cmtime then Digest.to_hex digest else raise Not_found with Not_found -> let digest = Digest.file f in