Skip to content

Conversation

@TheButlah
Copy link

@TheButlah TheButlah commented Apr 11, 2020

The hook was originally matching all files in the repository as long as they had BUILD or BUILD.bazel in them. This commit ensures that, for example, BUILD.bazel and whatever/BUILD.bazel match, but not whateverBUILD.bazelasdf. It also adds support for whatever.BUILD files.

See #2

The hook was originally matching all files in the repository as long as they had `BUILD` or `BUILD.bazel` in them. This meant that they actually overrode the `files` setting in the user's repository. This commit ensures that, for example, `BUILD.bazel` and `whatever/BUILD.bazel` match, but not `whateverBUILD.bazelasdf`. It also adds support for `whatever.BUILD` files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant