From d7ddca4309f83d679cb59391635b94e2dfbc40fb Mon Sep 17 00:00:00 2001 From: Ryan Ghadimi <114221941+GhadimiR@users.noreply.github.com> Date: Tue, 11 Mar 2025 10:52:19 +0000 Subject: [PATCH] Fix comment on expectedHash --- packages/artifact/src/internal/shared/interfaces.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/artifact/src/internal/shared/interfaces.ts b/packages/artifact/src/internal/shared/interfaces.ts index 07bf68a1..9675d39a 100644 --- a/packages/artifact/src/internal/shared/interfaces.ts +++ b/packages/artifact/src/internal/shared/interfaces.ts @@ -108,8 +108,9 @@ export interface DownloadArtifactOptions { path?: string /** - * The hash that was computed for the artifact during upload. Don't provide this unless you want to verify the hash. - * If the hash doesn't match, the download will fail. + * The hash that was computed for the artifact during upload. If provided, the outcome of the download + * will provide a digestMismatch property indicating whether the hash of the downloaded artifact + * matches the expected hash. */ expectedHash?: string }