Skip to content

Commit

Permalink
Correctly get keys of assetsMap
Browse files Browse the repository at this point in the history
  • Loading branch information
weltenwort committed Jan 15, 2024
1 parent c75f13a commit 7ebfe01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ export async function installCustomPackage(
acc.set(asset.path, asset.content);
return acc;
}, new Map<string, Buffer | undefined>());
const paths = [...Object.keys(assetsMap)];
const paths = [...assetsMap.keys()];

const packageInstallContext: PackageInstallContext = {
assetsMap,
Expand Down

0 comments on commit 7ebfe01

Please sign in to comment.