Skip to content

Commit

Permalink
Refactor: Simplify printSequence() (prettier#12535)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker authored and medikoo committed Jan 3, 2024
1 parent c3b144c commit 243d93a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/language-graphql/printer-graphql.js
Expand Up @@ -375,7 +375,10 @@ function genericPrint(path, options, print) {
" {",
indent([
hardline,
join(hardline, printSequence(path, options, print, "operationTypes")),
join(
hardline,
printSequence(path, options, print, "operationTypes")
),
]),
hardline,
"}",
Expand Down

0 comments on commit 243d93a

Please sign in to comment.