Skip to content

Commit

Permalink
Update util.markdown
Browse files Browse the repository at this point in the history
Fix for nodejs/node-v0.x-archive#25559 (Typo in example of util.deprecate() documentation)

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs/node-v0.x-archive#25591
  • Loading branch information
danielrentz authored and jasnell committed Aug 4, 2015
1 parent 4952e2b commit 5ad05af
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 5ad05af

Please sign in to comment.