From e985993a24c3cbd3dac43e37fdaf16ff6ea7a2bc Mon Sep 17 00:00:00 2001 From: Alexandru Dima Date: Mon, 23 Jun 2025 23:34:50 +0200 Subject: [PATCH] Add suppression comment (#252235) --- src/vs/base/common/hash.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/base/common/hash.ts b/src/vs/base/common/hash.ts index eafaccd761a..324f057007c 100644 --- a/src/vs/base/common/hash.ts +++ b/src/vs/base/common/hash.ts @@ -93,7 +93,7 @@ export const hashAsync = (input: string | ArrayBufferView | VSBuffer) => { buff = input; } - return crypto.subtle.digest('sha-1', buff as ArrayBufferView).then(toHexString); + return crypto.subtle.digest('sha-1', buff as ArrayBufferView).then(toHexString); // CodeQL [SM04514] we use sha1 here for validating old stored client state, not for security }; const enum SHA1Constant {