You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
==> rubyfmt: stable 0.10.0 (bottled), HEAD
Ruby autoformatter
https://github.com/fables-tales/rubyfmt
/opt/homebrew/Cellar/rubyfmt/0.10.0 (8 files, 15.4MB) *
Poured from bottle using the formulae.brew.sh API on 2024-01-07 at 04:41:02
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/r/rubyfmt.rb
# First format - no output but brackets () are removed
# leaving conditional as: a.nil? || not b.nil? || c.nil?
#
# Second format:
Rubyfmt detected a syntax error in the ruby code being executed
This breaks because
Code should have been left as-is on the first format - instead, it got converted to invalid ruby code:
a.nil? || not b.nil? || c.nil?
(is not valid ruby)
The text was updated successfully, but these errors were encountered:
3.1.2
e00d2ab89fd4b0b85a7897fac393c1ad987136de
Input file
Rubyfmt's output
This breaks because
Code should have been left as-is on the first format - instead, it got converted to invalid ruby code:
(is not valid ruby)
The text was updated successfully, but these errors were encountered: