From abfceeb2498c39b5c3a6478e67966ca25e2e0c21 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 22 Apr 2020 14:20:50 +0000 Subject: Format graphql --- .editorconfig | 5 +++++ src/commit_pr.graphql | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.editorconfig b/.editorconfig index df38fb8..23bf486 100644 --- a/.editorconfig +++ b/.editorconfig @@ -46,6 +46,11 @@ end_of_line = lf insert_final_newline = true charset = utf-8 +[*.graphql] +indent_style = spaces +indent_size = 2 +trim_trailing_whitespace = true + [*.rs] indent_style = spaces indent_size = 4 diff --git a/src/commit_pr.graphql b/src/commit_pr.graphql index 539f28f..b2b1571 100644 --- a/src/commit_pr.graphql +++ b/src/commit_pr.graphql @@ -44,16 +44,16 @@ query CommitPRQuery($owner: String!, $repo: String!, $oid: GitObjectID) { object(oid: $oid) { __typename ... on Commit { - associatedPullRequests(first: 1) { - nodes { - baseRepository { - owner { - __typename - login - } - } - } - } + associatedPullRequests(first: 1) { + nodes { + baseRepository { + owner { + __typename + login + } + } + } + } } } } -- cgit 1.4.1