Skip to content

Commit bbb66fc

Browse files
committed
bugfix
1 parent 801138a commit bbb66fc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Chunk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const sortByIdentifier = (a, b) => {
2121
return 0;
2222
};
2323

24-
const getFrozenArray = set => Object.freeze(Array.from(this));
24+
const getFrozenArray = set => Object.freeze(Array.from(set));
2525

2626
const getModulesIdent = set => {
2727
set.sort();

lib/Module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const sortByDebugId = (a, b) => {
2121
return a.debugId - b.debugId;
2222
};
2323

24-
const getFrozenArray = set => Object.freeze(Array.from(this));
24+
const getFrozenArray = set => Object.freeze(Array.from(set));
2525

2626
const getDebugIdent = set => {
2727
set.sortWith(sortByDebugId);

0 commit comments

Comments
 (0)