Skip to content

Commit c1d8040

Browse files
committed
refactor: fix code formatting
1 parent 1f6c82f commit c1d8040

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/apitypes/graphql/graphql.changes.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ export const compareDocuments = async (
3636
prevDoc: ResolvedVersionDocument | undefined,
3737
currDoc: ResolvedVersionDocument | undefined,
3838
ctx: CompareOperationsPairContext): Promise<{
39-
operationChanges: OperationChanges[]
40-
tags: Set<string>
41-
}> => {
39+
operationChanges: OperationChanges[]
40+
tags: Set<string>
41+
}> => {
4242
const { apiType, rawDocumentResolver, previousVersion, currentVersion, previousPackageId, currentPackageId } = ctx
4343
const prevFile = prevDoc && await rawDocumentResolver(previousVersion, previousPackageId, prevDoc.slug)
4444
const currFile = currDoc && await rawDocumentResolver(currentVersion, currentPackageId, currDoc.slug)
@@ -104,7 +104,7 @@ export const compareDocuments = async (
104104

105105
let operationDiffs: Diff[] = []
106106
if (operationChanged) {
107-
operationDiffs = [...(methodData as WithAggregatedDiffs<GraphApiOperation>)[DIFFS_AGGREGATED_META_KEY]??[]]
107+
operationDiffs = [...(methodData as WithAggregatedDiffs<GraphApiOperation>)[DIFFS_AGGREGATED_META_KEY] ?? []]
108108
}
109109
if (operationAddedOrRemoved) {
110110
const operationAddedOrRemovedDiff = (merged[type] as WithDiffMetaRecord<Record<string, GraphApiOperation>>)[DIFF_META_KEY]?.[operationKey]

0 commit comments

Comments
 (0)