Without runfiles, buildifier check and fix fails silently. The command has no output or errors. It would be good at least to error in this case, if norunfiles mode will not be supported.
This issue can be covered by the test case in #90 if linux platform is enabled for the norunfiles cases.
To reproduce:
> git clone
> cd buildifier_prebuilt/examples/simple
> BUILD <-- make some edits to BUILD, breaking its formatting
> export BUILDIFIER_DIFF=diff
> bazel run //:buildifier.check --noenable_runfiles
Without runfiles, buildifier check and fix fails silently. The command has no output or errors. It would be good at least to error in this case, if norunfiles mode will not be supported.
This issue can be covered by the test case in #90 if linux platform is enabled for the norunfiles cases.
To reproduce:
outputs: