Skip to content

Commit 3bc340c

Browse files
committed
fix benchmarks
1 parent 090ad5d commit 3bc340c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stable/build/commands/build/javascript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ function experimentalMessage(importName: string): string {
223223
function handleBenchmarking(): string {
224224
return /*TS*/ `
225225
if (globalThis.process !== undefined && globalThis.process.env.AZLE_RECORD_BENCHMARKS === 'true') {
226-
const methodMeta = canisterClassMeta.methodMeta;
226+
const methodMeta = globalThis._azleCanisterClassMeta.methodMeta;
227227
228228
const canisterMethodNames = Object.entries(methodMeta).reduce((acc, [key, value]) => {
229229
if (value === undefined) {

0 commit comments

Comments
 (0)