mirror of https://github.com/pyodide/pyodide.git
fix: npe from API.lockfile_info.version (#5193)
This commit is contained in:
parent
2bc7e4a682
commit
885e4bc74d
|
@ -46,7 +46,7 @@ export async function initializePackageIndex(
|
|||
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}`,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue