aboutsummaryrefslogtreecommitdiff
path: root/lib/timers.js
diff options
context:
space:
mode:
authorAnatoli Papirovski <apapirovski@mac.com>2018-02-10 16:13:46 -0500
committerAnatoli Papirovski <apapirovski@mac.com>2018-02-11 10:34:13 -0500
commit2aa3e3b00ff97e50f87a3345a33bcac9f424d0d7 (patch)
tree2030072d2a3fd4b0d34ddd0b6002234541d3ef9e /lib/timers.js
parent316846b8decf7158dd73d0ee23999686eee863bd (diff)
downloadandroid-node-v8-2aa3e3b00ff97e50f87a3345a33bcac9f424d0d7.tar.gz
android-node-v8-2aa3e3b00ff97e50f87a3345a33bcac9f424d0d7.tar.bz2
android-node-v8-2aa3e3b00ff97e50f87a3345a33bcac9f424d0d7.zip
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>
Diffstat (limited to 'lib/timers.js')
-rw-r--r--lib/timers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/timers.js b/lib/timers.js
index 8e914d751a..08ddf16785 100644
--- a/lib/timers.js
+++ b/lib/timers.js
@@ -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');