Skip to content

Commit 028acd3

Browse files
BridgeARMayaLekova
authored andcommitted
lib: provide proper deprecation code
Refs: nodejs#18513 PR-URL: nodejs#18694 Refs: nodejs#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>
1 parent c7eeeb8 commit 028acd3

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)