Skip to content

Commit

Permalink
Fix scalafmt_repositories.bzl lint errors
Browse files Browse the repository at this point in the history
Broke CI again. D'oh!
  • Loading branch information
mbland committed Oct 18, 2024
1 parent d2cac51 commit 89bdc20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scala/scalafmt/scalafmt_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ def _scalafmt_config_impl(repository_ctx):
build.append(" visibility = [\"//visibility:public\"],")
build.append(")\n")

repository_ctx.file('BUILD', "\n".join(build), executable = False)
repository_ctx.file("BUILD", "\n".join(build), executable = False)
repository_ctx.symlink(repository_ctx.path(config_path), config_path.name)

scalafmt_config = repository_rule(
implementation = _scalafmt_config_impl,
attrs = {
"path": attr.label(mandatory = True, allow_single_file = True),
}
},
)

def scalafmt_default_config(path = ".scalafmt.conf", **kwargs):
Expand Down

0 comments on commit 89bdc20

Please sign in to comment.