Skip to content

Commit

Permalink
module: update expected module.parent DEP number
Browse files Browse the repository at this point in the history
  • Loading branch information
BethGriggs committed Jul 14, 2020
1 parent d8faa2a commit eeda609
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/internal/modules/cjs/loader.js
Expand Up @@ -248,7 +248,7 @@ ObjectDefineProperty(Module.prototype, 'parent', {
getModuleParent,
'module.parent is deprecated due to accuracy issues. Please use ' +
'require.main to find program entry point instead.',
'DEP0143'
'DEP0144'
) : getModuleParent
});

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-module-parent-deprecation.js
Expand Up @@ -8,7 +8,7 @@ common.expectWarning(
'DeprecationWarning',
'module.parent is deprecated due to accuracy issues. Please use ' +
'require.main to find program entry point instead.',
'DEP0143'
'DEP0144'
);

assert.strictEqual(module.parent, null);

0 comments on commit eeda609

Please sign in to comment.