summaryrefslogtreecommitdiff
path: root/std/node/util.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /std/node/util.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/node/util.ts')
-rw-r--r--std/node/util.ts4
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}`,
);
}
}