diff --git a/lib/async_hooks.js b/lib/async_hooks.js index b0908881b9176d..8711755b25079b 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; } }