From fcbbbce43579a48542dcfa8754fb3e8ce9f1a6d4 Mon Sep 17 00:00:00 2001 From: Jaden Peterson Date: Mon, 21 Oct 2024 14:41:07 -0400 Subject: [PATCH] fixup! 8e0978874e5 Formatted changes --- rules/private/phases/phase_semanticdb.bzl | 1 - tests/plugins/semanticdb/BUILD | 2 +- tests/plugins/semanticdb/rule.bzl | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/rules/private/phases/phase_semanticdb.bzl b/rules/private/phases/phase_semanticdb.bzl index 1c8ac99a..3d2d7f87 100644 --- a/rules/private/phases/phase_semanticdb.bzl +++ b/rules/private/phases/phase_semanticdb.bzl @@ -34,7 +34,6 @@ def phase_semanticdb(ctx, g): outputs.append(ctx.actions.declare_file(path)) - def add_scalacopts(arguments): if len(outputs) == 0: return diff --git a/tests/plugins/semanticdb/BUILD b/tests/plugins/semanticdb/BUILD index ea321ab5..af8698e5 100644 --- a/tests/plugins/semanticdb/BUILD +++ b/tests/plugins/semanticdb/BUILD @@ -1,6 +1,6 @@ -load(":rule.bzl", "read_semanticdb_info") load("@rules_scala_annex//rules:scala.bzl", "configure_zinc_scala", "scala_library") load("@rules_scala_annex//rules/scala:workspace.bzl", "scala_2_13_version", "scala_3_version") +load(":rule.bzl", "read_semanticdb_info") configure_zinc_scala( name = "scala_2_13_with_semanticdb", diff --git a/tests/plugins/semanticdb/rule.bzl b/tests/plugins/semanticdb/rule.bzl index 286061b1..7697ad3e 100644 --- a/tests/plugins/semanticdb/rule.bzl +++ b/tests/plugins/semanticdb/rule.bzl @@ -21,6 +21,5 @@ read_semanticdb_info = rule( providers = [SemanticDbInfo], ), }, - implementation = _read_semanticdb_info_impl, )