Skip to content

Commit 5ad05af

Browse files
danielrentzjasnell
authored andcommitted
Update util.markdown
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
1 parent 4952e2b commit 5ad05af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/util.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ through the `constructor.super_` property.
261261

262262
Marks that a method should not be used any more.
263263

264-
exports.puts = exports.deprecate(function() {
264+
exports.puts = util.deprecate(function() {
265265
for (var i = 0, len = arguments.length; i < len; ++i) {
266266
process.stdout.write(arguments[i] + '\n');
267267
}

0 commit comments

Comments
 (0)