Skip to content

Commit

Permalink
Use keyword args in bazel macros as per buildifier linter
Browse files Browse the repository at this point in the history
  • Loading branch information
HoloRin committed Jul 11, 2022
1 parent 3f3df48 commit e2ca5d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ pkg_tar(
visibility = ["//visibility:public"],
)

package_generic_unix(PLUGINS)
package_generic_unix(plugins = PLUGINS)

source_archive(PLUGINS + [
source_archive(plugins = PLUGINS + [
"//deps/rabbitmq_cli:rabbitmqctl",
])

Expand Down
4 changes: 2 additions & 2 deletions dist.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def versioned_plugins_dir(**kwargs):
)

def package_generic_unix(
plugins,
plugins = None,
rabbitmq_workspace = "@",
package_dir = "rabbitmq_server-{}".format(APP_VERSION)):
collect_licenses(
Expand Down Expand Up @@ -286,7 +286,7 @@ def package_generic_unix(
)

def source_archive(
plugins,
plugins = None,
rabbitmq_workspace = "@"):
source_tree(
name = "source-tree",
Expand Down

0 comments on commit e2ca5d4

Please sign in to comment.