Skip to content

Commit

Permalink
Update util.markdown
Browse files Browse the repository at this point in the history
Fix for nodejs#25559 (Typo in example of util.deprecate() documentation)
  • Loading branch information
danielrentz authored and jasnell committed Jul 6, 2015
1 parent 003c1b2 commit 6528aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/util.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 6528aed

Please sign in to comment.