Skip to content

Commit

Permalink
Update lib/selects.bzl
Browse files Browse the repository at this point in the history
bzlmod compatibility

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
  • Loading branch information
leovitch and fmeum committed Nov 16, 2022
1 parent da0a4fb commit 8e4a8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/selects.bzl
Expand Up @@ -20,7 +20,7 @@ _TRUE_TARGET = Label("//lib:always_true")

# Target which will always resolve to False. Referenced through a top-level alias
# so that it will work with WORKSPACE files in bazel.
_FALSE_TARGET = "@bazel_skylib//lib:always_false"
_FALSE_TARGET = Label("//lib:always_false")

def _with_or(input_dict, no_match_error = ""):
"""Drop-in replacement for `select()` that supports ORed keys.
Expand Down

0 comments on commit 8e4a8de

Please sign in to comment.