From cb5602748d75d4a0a3ff2fc3e43b6b4a057a1ae8 Mon Sep 17 00:00:00 2001 From: Luuk Scholten Date: Mon, 5 Nov 2018 14:04:01 +0100 Subject: [PATCH] Format new code with prettier --- src/utils/openapi.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/utils/openapi.ts b/src/utils/openapi.ts index bfe08655..a9bd35e2 100644 --- a/src/utils/openapi.ts +++ b/src/utils/openapi.ts @@ -141,7 +141,11 @@ export function isNamedDefinition(pointer?: string): boolean { return /^#\/components\/schemas\/[^\/]+$/.test(pointer || ''); } -function humanizeRangeConstraint(description: string, min: number | undefined, max: number | undefined): string | undefined { +function humanizeRangeConstraint( + description: string, + min: number | undefined, + max: number | undefined, +): string | undefined { let stringRange; if (min !== undefined && max !== undefined) { if (min === max) {