Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
lib: provide proper deprecation code
Refs: #18513
  • Loading branch information
BridgeAR committed Feb 10, 2018
commit d6321e346f7965ac4499fdbcb062bcc03bcf800c
2 changes: 1 addition & 1 deletion lib/async_hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function showEmitBeforeAfterWarning() {
process.emitWarning(
'asyncResource.emitBefore and emitAfter are deprecated. Please use ' +
'asyncResource.runInAsyncScope instead',
'DeprecationWarning', 'DEP00XX');
'DeprecationWarning', 'DEP0098');
emitBeforeAfterWarning = false;
}
}
Expand Down