diff --git a/lib/async_hooks.js b/lib/async_hooks.js index d527f7ea9d69c1..d4937c33011692 100644 --- a/lib/async_hooks.js +++ b/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; } }