Unverified Commit ca3cb96d authored by Voltrex's avatar Voltrex Committed by Danielle Adams
Browse files

lib: cleanup validation

Used the `validateInteger()` validator to cleanup validation and keep
consistency.

PR-URL: https://github.com/nodejs/node/pull/39652


Reviewed-By: default avatarAntoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarDarshan Sen <raisinten@gmail.com>
parent cc08d306
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment