diff options
Diffstat (limited to 'std/node/util.ts')
-rw-r--r-- | std/node/util.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/node/util.ts b/std/node/util.ts index e046aba9c..8e3c50b87 100644 --- a/std/node/util.ts +++ b/std/node/util.ts @@ -62,7 +62,7 @@ export function validateIntegerRange( value: number, name: string, min = -2147483648, - max = 2147483647 + max = 2147483647, ): void { // The defaults for min and max correspond to the limits of 32-bit integers. if (!Number.isInteger(value)) { @@ -70,7 +70,7 @@ export function validateIntegerRange( } if (value < min || value > max) { throw new Error( - `${name} must be >= ${min} && <= ${max}. Value was ${value}` + `${name} must be >= ${min} && <= ${max}. Value was ${value}`, ); } } |