From 2366aa20c59c484db83dc378df304d657af187d2 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sat, 18 Jul 2026 13:59:02 -0700 Subject: [PATCH] Remove unnecessary type check since this is just called internally during build. --- scripts/blake2b-gen.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/blake2b-gen.js b/scripts/blake2b-gen.js index 5df40c8..3cbadde 100644 --- a/scripts/blake2b-gen.js +++ b/scripts/blake2b-gen.js @@ -20,11 +20,6 @@ import { writeFile } from 'node:fs/promises' * @returns {string} */ function generate (api) { - - if (api !== 'wasm' && api !== 'webgl' && api !== 'webgpu') { - throw new TypeError(`Cannot generate BLAKE2b code for ${api}`) - } - /** * Shorthand for adding two operands and storing sum in the first. * -- 2.52.0