We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e9535c commit 560ebcdCopy full SHA for 560ebcd
packages/onnx-runtime-builder/scripts/build.mjs
@@ -281,8 +281,8 @@ async function verify() {
281
printHeader('Verifying WASM')
282
283
// Get WASM file location from optimize checkpoint.
284
- const { readCheckpoint } = await import('@socketsecurity/build-infra/lib/checkpoint-manager')
285
- const checkpoint = await readCheckpoint('onnx-runtime', 'optimized')
+ const { getCheckpointData } = await import('@socketsecurity/build-infra/lib/checkpoint-manager')
+ const checkpoint = await getCheckpointData('onnx-runtime', 'optimized')
286
const wasmFile = checkpoint?.wasmFile || path.join(BUILD_DIR, 'MinSizeRel', 'onnxruntime-web.wasm')
287
288
if (!existsSync(wasmFile)) {
0 commit comments