Skip to content

Commit 8340107

Browse files
author
zach
committed
fix: typo
1 parent 8288366 commit 8340107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update-kernel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ async function main() {
88
const kernelPath = 'wasm/extism-runtime.wasm'
99
const wasmContents = await fs.promises.readFile(kernelPath);
1010
const kernelBase64 = wasmContents.toString('base64');
11-
const kernelHash = await crypto.createHash('sha256').update(pluginContents).digest('hex');
11+
const kernelHash = await crypto.createHash('sha256').update(wasmContents).digest('hex');
1212

1313
pluginContents = pluginContents.replace(/embeddedRuntime =\s*'.*'/, `embeddedRuntime =\n\t'${kernelBase64}'`);
1414
pluginContents = pluginContents.replace(/embeddedRuntimeHash =\s*'.*''/, `embeddedRuntimeHash = '${kernelHash}'`);

0 commit comments

Comments
 (0)