Permalink
Please
sign in to comment.
Browse files
timers: rename validateTimerDuration to getTimerDuration
The function did not only validate the timer but it caused side effects like a warning and potentially returned a different value than the input value. Thus the name `validate` did not seem to be appropriate. PR-URL: #26809 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
- Loading branch information...
Showing
with
9 additions
and 9 deletions.
- +3 −3 lib/_http_client.js
- +2 −2 lib/internal/stream_base_commons.js
- +2 −2 lib/internal/timers.js
- +2 −2 lib/timers.js
0 comments on commit
9e8c9be