Skip to content

Commit

Permalink
chore: update warning for the deprecated data attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ffortier committed Apr 2, 2024
1 parent f4d02ff commit 6b3e249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opa/private/opa_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6b3e249

Please sign in to comment.