Skip to content

Commit 0a97e1d

Browse files
BridgeARMylesBorins
authored andcommitted
lib: provide proper deprecation code
Refs: #18513 Backport-PR-URL: #18892 PR-URL: #18694 Refs: #18513 Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 7f5334e commit 0a97e1d

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
@@ -149,7 +149,7 @@ function showEmitBeforeAfterWarning() {
149149
process.emitWarning(
150150
'asyncResource.emitBefore and emitAfter are deprecated. Please use ' +
151151
'asyncResource.runInAsyncScope instead',
152-
'DeprecationWarning', 'DEP00XX');
152+
'DeprecationWarning', 'DEP0098');
153153
emitBeforeAfterWarning = false;
154154
}
155155
}

0 commit comments

Comments
 (0)