Skip to content

Commit b357adf

Browse files
authored
chore: the prettier gods demand attention (#151)
1 parent 9d53564 commit b357adf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/plugins/graphql-operation-logging-plugin.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,7 @@ export function graphqlOperationLoggingPlugin<TContext extends GraphQLContext<TL
8686
subsequentPayload?: GraphQLExperimentalFormattedSubsequentIncrementalExecutionResult,
8787
) {
8888
const { started } = contextValue
89-
const { logger } = resolveCustomLogger
90-
? { logger: resolveCustomLogger(contextValue) }
91-
: contextValue
89+
const { logger } = resolveCustomLogger ? { logger: resolveCustomLogger(contextValue) } : contextValue
9290
const { operationName, query, variables } = ctx.request
9391
const isIntrospection = query && isIntrospectionQuery(query)
9492
if (isIntrospection && ignoreIntrospectionQueries) return

0 commit comments

Comments
 (0)