From 6b3e2495af00f86e0444f7eeb6df31a4b322b611 Mon Sep 17 00:00:00 2001 From: Francis Fortier Date: Tue, 2 Apr 2024 11:54:22 -0400 Subject: [PATCH] chore: update warning for the deprecated data attribute --- opa/private/opa_library.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opa/private/opa_library.bzl b/opa/private/opa_library.bzl index 94a8b0c..a053553 100644 --- a/opa/private/opa_library.bzl +++ b/opa/private/opa_library.bzl @@ -184,7 +184,7 @@ wasm The wasm target emits a bundle containing a WebAssembly module compiled def opa_library(*, name, srcs = [], data = [], **kwargs): if len(data) > 0: # buildifier: disable=print - print("\rWARNING: The data attribute is now discouraged here because files are needed at compile time. Please use srcs to bundle json files") + print("\rWARNING: The data attribute is now deprecated in opa_library because files are needed at compile time. Please use srcs to bundle json files") opa_library_rule( name = name,