Skip to content

Commit

Permalink
lib: provide proper deprecation code
Browse files Browse the repository at this point in the history
Refs: nodejs#18513

PR-URL: nodejs#18694
Refs: nodejs#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]>
  • Loading branch information
BridgeAR authored and MayaLekova committed May 8, 2018
1 parent c7eeeb8 commit 028acd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/async_hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function showEmitBeforeAfterWarning() {
process.emitWarning(
'asyncResource.emitBefore and emitAfter are deprecated. Please use ' +
'asyncResource.runInAsyncScope instead',
'DeprecationWarning', 'DEP00XX');
'DeprecationWarning', 'DEP0098');
emitBeforeAfterWarning = false;
}
}
Expand Down

0 comments on commit 028acd3

Please sign in to comment.