summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Rentz <danielrentz@users.noreply.github.com>2015-06-25 21:43:56 +0200
committerJames M Snell <jasnell@gmail.com>2015-08-03 20:44:42 -0700
commit5ad05af380943910e6c07836297c25c4c7745141 (patch)
treee95adb9fc633afd6d28de2c46351552b130a7209
parent4952e2b4d22958aa374f7f61813326ab4159e86d (diff)
downloadnode-5ad05af380943910e6c07836297c25c4c7745141.tar.gz
Update util.markdown
Fix for https://github.com/joyent/node/issues/25559 (Typo in example of util.deprecate() documentation) Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/joyent/node/pull/25591
-rw-r--r--doc/api/util.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/util.markdown b/doc/api/util.markdown
index cc639ddb4..376596340 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');
}