From 5ad05af380943910e6c07836297c25c4c7745141 Mon Sep 17 00:00:00 2001 From: Daniel Rentz Date: Thu, 25 Jun 2015 21:43:56 +0200 Subject: [PATCH] Update util.markdown Fix for https://github.com/joyent/node/issues/25559 (Typo in example of util.deprecate() documentation) Reviewed-By: James M Snell PR-URL: https://github.com/joyent/node/pull/25591 --- doc/api/util.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/util.markdown b/doc/api/util.markdown index cc639ddb494..3765963406c 100644 --- a/doc/api/util.markdown +++ b/doc/api/util.markdown @@ -261,7 +261,7 @@ through the `constructor.super_` property. Marks that a method should not be used any more. - exports.puts = exports.deprecate(function() { + exports.puts = util.deprecate(function() { for (var i = 0, len = arguments.length; i < len; ++i) { process.stdout.write(arguments[i] + '\n'); }