Skip to content

Commit 4fa4c4f

Browse files
fix: prettier
1 parent 913479f commit 4fa4c4f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/cli/src/codegen.mts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,9 @@ export function getOkResponses(
560560
responses: IResponsesObject,
561561
originalRef: string,
562562
): ICodeWithMetadata {
563-
const okResponses = Object.entries(responses).filter(([key]) => key.startsWith('2') || key === 'default');
563+
const okResponses = Object.entries(responses).filter(
564+
([key]) => key.startsWith('2') || key === 'default',
565+
);
564566
return getReqResTypes(okResponses, originalRef);
565567
}
566568

@@ -569,8 +571,7 @@ export function getErrorResponses(
569571
originalRef: string,
570572
): ICodeWithMetadata {
571573
const errorResponses = Object.entries(responses).filter(
572-
([key]) =>
573-
key.startsWith('3') || key.startsWith('4') || key.startsWith('5'),
574+
([key]) => key.startsWith('3') || key.startsWith('4') || key.startsWith('5'),
574575
);
575576
return getReqResTypes(errorResponses, originalRef);
576577
}

0 commit comments

Comments
 (0)