diff --git a/lib/async_hooks.js b/lib/async_hooks.js index 7dc7bfab328498..4216ee3f240c48 100644 --- a/lib/async_hooks.js +++ b/lib/async_hooks.js @@ -262,10 +262,10 @@ class AsyncResource { enumerable: true, get: deprecate(function() { return self; - }, 'The asyncResource property on bound functions is deprecated', 'DEP0172'), + }, 'The asyncResource property on bound functions is deprecated', 'DEP0172', false), set: deprecate(function(val) { self = val; - }, 'The asyncResource property on bound functions is deprecated', 'DEP0172'), + }, 'The asyncResource property on bound functions is deprecated', 'DEP0172', false), }, }); return bound;