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)

Reviewed-By: James M Snell <[email protected]>
PR-URL: nodejs#25635
  • Loading branch information
danielrentz authored and jasnell committed Jul 10, 2015
1 parent 00551e7 commit 571ce9a
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 571ce9a

Please sign in to comment.