Skip to content

Commit

Permalink
fix: npe from API.lockfile_info.version (#5193)
Browse files Browse the repository at this point in the history
  • Loading branch information
mscolnick authored and hoodmane committed Nov 14, 2024
1 parent 27dbc06 commit a8fe566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/load-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function initializePackageIndex(lockFilePromise: Promise<Lockfile>) {
if (lockfile.info.version !== API.version) {
throw new Error(
"Lock file version doesn't match Pyodide version.\n" +
` lockfile version: ${API.lockfile_info.version}\n` +
` lockfile version: ${lockfile.info.version}\n` +
` pyodide version: ${API.version}`,
);
}
Expand Down

0 comments on commit a8fe566

Please sign in to comment.