From 62d7990b9bb30cf33ed87017c5c633d1cccc75c2 Mon Sep 17 00:00:00 2001 From: Toon Claes Date: Thu, 28 Feb 2019 19:57:34 +0100 Subject: Ran standardrb --fix on the whole codebase 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_. --- lib/banzai/reference_extractor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/banzai/reference_extractor.rb') 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) -- cgit v1.2.1