Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 2aa3e3b

Browse files
committed
timers: fix enroll deprecation wording
PR-URL: nodejs/node#18704 Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 316846b commit 2aa3e3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/timers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ function enroll(item, msecs) {
379379

380380
exports.enroll = util.deprecate(enroll,
381381
'timers.enroll() is deprecated. ' +
382-
'Please use clearTimeout instead.',
382+
'Please use setTimeout instead.',
383383
'DEP0095');
384384

385385

0 commit comments

Comments
 (0)