fix(tvix): fix InvalidEncodedDigestLength message
Before: error[E997]: invalid output hash: invalid encoded digest length '43' for algo 43 After: error[E997]: invalid output hash: invalid encoded digest length '43' for algo sha256 Change-Id: Icb533839586b47f90b4e8d22083cce397f9f3655 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8035 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
87e1934f2d
commit
5da1f4161c
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ pub enum Error {
|
||||||
InvalidAlgo(String),
|
InvalidAlgo(String),
|
||||||
#[error("invalid sri string")]
|
#[error("invalid sri string")]
|
||||||
InvalidSRI,
|
InvalidSRI,
|
||||||
#[error("invalid encoded digest length '{0}' for algo {0}")]
|
#[error("invalid encoded digest length '{0}' for algo {1}")]
|
||||||
InvalidEncodedDigestLength(usize, HashAlgo),
|
InvalidEncodedDigestLength(usize, HashAlgo),
|
||||||
#[error("invalid base16 encoding: {0}")]
|
#[error("invalid base16 encoding: {0}")]
|
||||||
InvalidBase16Encoding(data_encoding::DecodeError),
|
InvalidBase16Encoding(data_encoding::DecodeError),
|
||||||
|
|
Loading…
Reference in a new issue