Skip to content

Commit 895ffe0

Browse files
committed
refactor(module): align override JSDoc with the base lifecycle methods
1 parent c121b43 commit 895ffe0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎lib/Module.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,15 +1252,15 @@ class Module extends DependenciesBlock {
12521252

12531253
/**
12541254
* Re-acquire factory-derived helpers (parser/generator) for an incremental
1255-
* rebuild so this compilation's plugin hooks apply. No-op unless overridden.
1255+
* rebuild so this compilation's plugin hooks apply.
12561256
* @param {NormalModuleFactory} normalModuleFactory the normal module factory
12571257
* @returns {void}
12581258
*/
12591259
_restoreParserAndGenerator(normalModuleFactory) {}
12601260

12611261
/**
12621262
* Releases the cached parser between incremental rebuilds so it doesn't keep
1263-
* the previous compilation alive. No-op unless overridden.
1263+
* the previous compilation alive.
12641264
* @returns {void}
12651265
*/
12661266
_cleanupParserForCache() {}

‎lib/NormalModule.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ class NormalModule extends Module {
817817

818818
/**
819819
* Releases the cached parser between incremental rebuilds so it doesn't keep
820-
* the previous compilation alive (parser options are kept for the restore).
820+
* the previous compilation alive.
821821
* @returns {void}
822822
*/
823823
_cleanupParserForCache() {

0 commit comments

Comments
 (0)