Skip to content

Commit c0bf82c

Browse files
committed
fixes incorrect deprecation
1 parent 3d65329 commit c0bf82c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/Module.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Object.defineProperty(Module.prototype, "entry", {
245245

246246
Object.defineProperty(Module.prototype, "chunks", {
247247
configurable: false,
248-
get: util.deprecate(() => {
248+
get: util.deprecate(function() {
249249
return Array.from(this._chunks);
250250
}, "Module.chunks: Use Module.forEachChunk/mapChunks/getNumberOfChunks/isInChunk/addChunk/removeChunk instead"),
251251
set() {

0 commit comments

Comments
 (0)