Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment outside the block when it before has multiple empty lines. #413

Open
huacnlee opened this issue Feb 16, 2023 · 0 comments
Open

Comment outside the block when it before has multiple empty lines. #413

huacnlee opened this issue Feb 16, 2023 · 0 comments

Comments

@huacnlee
Copy link

huacnlee commented Feb 16, 2023

  • Ruby version: 3.2.0
  • Rubyfmt : 0.8.1

Input file

Rails.application.configure do
  
  
  # Raises error for missing translations.
end

Rubyfmt's output

Rails.application.configure do
end

# Raises error for missing translations.

Expected

Rails.application.configure do
  # Raises error for missing translations.
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant