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-07-10 09:15:47 -0700
commit423c4335664e565f9a9d0545ee9e7bc3a71873e9 (patch)
treeb4e8e437b072f60fd9267830dc12d9dc7c02c765
parent9faae7abaf89b618e436dba5d5cf119eba930c04 (diff)
downloadnode-423c4335664e565f9a9d0545ee9e7bc3a71873e9.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/25635
-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');
}