lib/rubocop/cop/layout/initial_indentation.rb in rubocop-1.49.0 vs lib/rubocop/cop/layout/initial_indentation.rb in rubocop-1.50.0
- old
+ new
@@ -32,10 +32,10 @@
end
private
def first_token
- processed_source.find_token { |t| !t.text.start_with?('#') }
+ processed_source.tokens.find { |t| !t.text.start_with?('#') }
end
def space_before(token)
return unless token
return if token.column.zero?