summaryrefslogtreecommitdiff
path: root/lib/banzai/reference_extractor.rb
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2019-02-28 19:57:34 +0100
committerToon Claes <toon@gitlab.com>2019-02-28 19:57:34 +0100
commit62d7990b9bb30cf33ed87017c5c633d1cccc75c2 (patch)
treec3e1b69c58a412ba1c6f50a0337a23d9f9d6e1a4 /lib/banzai/reference_extractor.rb
parentf6453eca992a9c142268e78ac782cef98110d183 (diff)
downloadgitlab-ce-tc-standard-gem.tar.gz
Ran standardrb --fix on the whole codebasetc-standard-gem
Inspired by https://twitter.com/searls/status/1101137953743613952 I decided to try https://github.com/testdouble/standard on our codebase. It's opinionated, but at least it's a _standard_.
Diffstat (limited to 'lib/banzai/reference_extractor.rb')
-rw-r--r--lib/banzai/reference_extractor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/reference_extractor.rb b/lib/banzai/reference_extractor.rb
index 3fc3ae02088..66a4375746d 100644
--- a/lib/banzai/reference_extractor.rb
+++ b/lib/banzai/reference_extractor.rb
@@ -8,7 +8,7 @@ module Banzai
end
def analyze(text, context = {})
- @texts_and_contexts << { text: text, context: context }
+ @texts_and_contexts << {text: text, context: context}
end
def references(type, project, current_user = nil)