diff --git a/lib/async_hooks.js b/lib/async_hooks.js index 4216ee3f240c48..1eb00871e2ebe6 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', false), + }, 'The asyncResource property on bound functions is deprecated', 'DEP0172', false, false), set: deprecate(function(val) { self = val; - }, 'The asyncResource property on bound functions is deprecated', 'DEP0172', false), + }, 'The asyncResource property on bound functions is deprecated', 'DEP0172', false, false), }, }); return bound;