diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/manifest.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/manifest.ml b/lib/manifest.ml index 3e0dda1..9313dad 100644 --- a/lib/manifest.ml +++ b/lib/manifest.ml @@ -639,7 +639,7 @@ module Input' = struct match Hash.codec.of_kdl input.children with | Ok h -> Ok h - | Error (`Not_found ("hash", _) :: []) -> + | Error [`Not_found ("hash", _)] -> Ok (Hash.make ?algorithm: !default_hash_algorithm ()) | Error errs -> Error errs |
