timers: fix enroll deprecation wording

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Anatoli Papirovski 2018-02-10 16:13:46 -05:00
parent 316846b8de
commit 2aa3e3b00f
No known key found for this signature in database
GPG Key ID: 614E2E1ABEB4B2C0

View File

@ -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');