★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/0a97e1d2c0Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files
lib: provide proper deprecation code
Refs: #18513

Backport-PR-URL: #18892
PR-URL: #18694
Refs: #18513
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
BridgeAR authored and MylesBorins committed Feb 21, 2018
1 parent 7f5334e commit 0a97e1d2c0af5bf419e509467786a9cd75f29789
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/async_hooks.js
@@ -149,7 +149,7 @@ function showEmitBeforeAfterWarning() {
process.emitWarning(
'asyncResource.emitBefore and emitAfter are deprecated. Please use ' +
'asyncResource.runInAsyncScope instead',
'DeprecationWarning', 'DEP00XX');
'DeprecationWarning', 'DEP0098');
emitBeforeAfterWarning = false;
}
}

0 comments on commit 0a97e1d

Please sign in to comment.