Skip to content

Commit 5304640

Browse files
pipe rubocop output to devnull (#1521)
1 parent b03b022 commit 5304640

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

justfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ alias lint-check := format-check
2020
# ⭐ check style & formatting for all files, fixing what we can
2121
lint: (format-check "--autocorrect")
2222

23+
# NOTE: "-o /dev/null" is vital - rubocop has super noisy output and codegen will crash when formatting ruby if everything gets printed
24+
# so, we send all its output to the void
2325
# copy of `lint` with less output
24-
format: (format-check "--format quiet --autocorrect")
26+
format: (format-check "-o /dev/null --autocorrect")
2527

2628
update-certs: install
2729
bundle exec rake update_certs

0 commit comments

Comments
 (0)