diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-04-22 14:20:50 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-04-22 14:20:50 +0000 |
commit | abfceeb2498c39b5c3a6478e67966ca25e2e0c21 (patch) | |
tree | 40c609e2758b7a6a99fff8b02ee2f84a5f87e268 | |
parent | 1a27ea150648f94984f916bd827aefad26e6da32 (diff) | |
download | pushmail-abfceeb2498c39b5c3a6478e67966ca25e2e0c21.tar pushmail-abfceeb2498c39b5c3a6478e67966ca25e2e0c21.tar.gz pushmail-abfceeb2498c39b5c3a6478e67966ca25e2e0c21.tar.bz2 pushmail-abfceeb2498c39b5c3a6478e67966ca25e2e0c21.tar.lz pushmail-abfceeb2498c39b5c3a6478e67966ca25e2e0c21.tar.xz pushmail-abfceeb2498c39b5c3a6478e67966ca25e2e0c21.tar.zst pushmail-abfceeb2498c39b5c3a6478e67966ca25e2e0c21.zip |
-rw-r--r-- | .editorconfig | 5 | ||||
-rw-r--r-- | 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 + } + } + } + } } } } |