Skip to content

Commit 0727fc4

Browse files
committed
Typo
1 parent 5849135 commit 0727fc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/internal/modules/package_map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class PackageMap {
7373

7474
const entries = ObjectEntries(data.packages);
7575
for (let i = 0; i < entries.length; i++) {
76-
const { 0: key, 1: entry } = entry;
76+
const { 0: key, 1: entry } = entries[i];
7777
if (!entry.path) {
7878
throw new ERR_PACKAGE_MAP_INVALID(this.#configPath, `package "${key}" is missing "path" field`);
7979
}

0 commit comments

Comments
 (0)