diff options
author | Anatoli Papirovski <apapirovski@mac.com> | 2018-02-10 16:13:46 -0500 |
---|---|---|
committer | Anatoli Papirovski <apapirovski@mac.com> | 2018-02-11 10:34:13 -0500 |
commit | 2aa3e3b00ff97e50f87a3345a33bcac9f424d0d7 (patch) | |
tree | 2030072d2a3fd4b0d34ddd0b6002234541d3ef9e /lib/timers.js | |
parent | 316846b8decf7158dd73d0ee23999686eee863bd (diff) | |
download | android-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.js | 2 |
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'); |