Skip to content

Commit

Permalink
fix: set debug mode false by default
Browse files Browse the repository at this point in the history
  • Loading branch information
opicaud committed Jan 5, 2024
1 parent 6a688b5 commit f226710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions private/pact/pact_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _impl(ctx):
consumer = ctx.attr.consumer[DefaultInfo].default_runfiles.files.to_list()
provider = ctx.attr.provider[DefaultInfo].default_runfiles.files.to_list()
debug = "op"
if ctx.attr.debug == False:
if ctx.attr.debug == True:
debug = "nop"
dict = {}
script = ctx.actions.declare_file(ctx.label.name + ".sh")
Expand Down Expand Up @@ -55,7 +55,7 @@ _pact_test = rule(
attrs = {
"consumer": attr.label(),
"provider": attr.label(),
"debug": attr.bool(default = True),
"debug": attr.bool(default = False),
"_script" : attr.label(default = Label("//private/pact/templates:pact_test.template.sh"), allow_single_file = True,)
},
toolchains = ["@rules_pact//:pact_reference_toolchain_type", "@rules_pact//:pact_protobuf_plugin_toolchain_type"],
Expand Down

0 comments on commit f226710

Please sign in to comment.