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
$ cat hi.rb
bad syntax in here
$ cat hi.rb | cargo run -- --check
Rubyfmt detected a syntax error in the ruby code being executed
$ echo$?
1
$ cargo run -- --check hi.rb
Rubyfmt detected a syntax error in the ruby code being executed
$ echo$?
0
This breaks because
These two are inconsistent (despite having the same input), and realistically it should probably return 5 in both cases (since we return 5 for invalid syntax in normal runs).
The text was updated successfully, but these errors were encountered:
e00d2ab89fd4b0b85a7897fac393c1ad987136de
(0.10.0)Input file + Rubyfmt's output
This breaks because
These two are inconsistent (despite having the same input), and realistically it should probably return
5
in both cases (since we return5
for invalid syntax in normal runs).The text was updated successfully, but these errors were encountered: