Skip to content

Commit d6321e3

Browse files
committed
lib: provide proper deprecation code
Refs: #18513
1 parent 01d0491 commit d6321e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/async_hooks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function showEmitBeforeAfterWarning() {
145145
process.emitWarning(
146146
'asyncResource.emitBefore and emitAfter are deprecated. Please use ' +
147147
'asyncResource.runInAsyncScope instead',
148-
'DeprecationWarning', 'DEP00XX');
148+
'DeprecationWarning', 'DEP0098');
149149
emitBeforeAfterWarning = false;
150150
}
151151
}

0 commit comments

Comments
 (0)