lib/rubocop/cop/layout/initial_indentation.rb in rubocop-1.30.1 vs lib/rubocop/cop/layout/initial_indentation.rb in rubocop-1.31.0

- old
+ new

@@ -39,10 +39,10 @@ def space_before(token) return unless token return if token.column.zero? - space_range = range_with_surrounding_space(range: token.pos, side: :left, newlines: false) + space_range = range_with_surrounding_space(token.pos, side: :left, newlines: false) # If the file starts with a byte order mark (BOM), the column can be # non-zero, but then we find out here if there's no space to the left # of the first token. return if space_range == token.pos