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
buildifier recently changed formatting behaviour depending on whether you are formatting a BUILD file or a .bzl file. For example, for BUILD it sorts all parameter lists by name.
codefmt invokes buildifier via stdin/stdout, so buildifier doesn't know whether it is a BUILD file or .bzl (and assumes the former, leading to spurious changes).
We can specify that path using the existing -path flag, even if we're formatting via a pipe.
The text was updated successfully, but these errors were encountered:
buildifier recently changed formatting behaviour depending on whether you are formatting a
BUILD
file or a.bzl
file. For example, forBUILD
it sorts all parameter lists by name.codefmt invokes buildifier via stdin/stdout, so buildifier doesn't know whether it is a
BUILD
file or.bzl
(and assumes the former, leading to spurious changes).We can specify that path using the existing
-path
flag, even if we're formatting via a pipe.The text was updated successfully, but these errors were encountered: