We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 560ebcd commit 505d16eCopy full SHA for 505d16e
packages/onnx-runtime-builder/scripts/build.mjs
@@ -315,8 +315,8 @@ async function exportWasm() {
315
await fs.mkdir(OUTPUT_DIR, { recursive: true })
316
317
// Get WASM file location from verified checkpoint.
318
- const { readCheckpoint } = await import('@socketsecurity/build-infra/lib/checkpoint-manager')
319
- const checkpoint = await readCheckpoint('onnx-runtime', 'verified')
+ const { getCheckpointData } = await import('@socketsecurity/build-infra/lib/checkpoint-manager')
+ const checkpoint = await getCheckpointData('onnx-runtime', 'verified')
320
const wasmFile = checkpoint?.wasmFile || path.join(BUILD_DIR, 'MinSizeRel', 'onnxruntime-web.wasm')
321
322
if (!existsSync(wasmFile)) {
0 commit comments