From 6528aed1b929c03c05c59ebed664786c8a7c1ac5 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) --- 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 cc639ddb4943..3765963406c2 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'); }