Skip to content

Commit

Permalink
timers: fix enroll deprecation wording
Browse files Browse the repository at this point in the history
PR-URL: #18704
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
apapirovski committed Feb 11, 2018
1 parent 316846b commit 2aa3e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ function enroll(item, msecs) {

exports.enroll = util.deprecate(enroll,
'timers.enroll() is deprecated. ' +
'Please use clearTimeout instead.',
'Please use setTimeout instead.',
'DEP0095');


Expand Down

0 comments on commit 2aa3e3b

Please sign in to comment.