Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/diff_stats_summary_type.rb')
-rw-r--r--app/graphql/types/diff_stats_summary_type.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/graphql/types/diff_stats_summary_type.rb b/app/graphql/types/diff_stats_summary_type.rb
index 95705ddecf3..44b92789408 100644
--- a/app/graphql/types/diff_stats_summary_type.rb
+++ b/app/graphql/types/diff_stats_summary_type.rb
@@ -9,13 +9,13 @@ module Types
description 'Aggregated summary of changes'
field :additions, GraphQL::Types::Int, null: false,
- description: 'Number of lines added.'
+ description: 'Number of lines added.'
field :changes, GraphQL::Types::Int, null: false,
- description: 'Number of lines changed.'
+ description: 'Number of lines changed.'
field :deletions, GraphQL::Types::Int, null: false,
- description: 'Number of lines deleted.'
+ description: 'Number of lines deleted.'
field :file_count, GraphQL::Types::Int, null: false,
- description: 'Number of files changed.'
+ description: 'Number of files changed.'
def changes
object[:additions] + object[:deletions]