We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e92bc7a commit c47b770Copy full SHA for c47b770
internal/node/npm_package_bin.bzl
@@ -48,7 +48,7 @@ def _inputs(ctx):
48
def _impl(ctx):
49
if ctx.attr.output_dir and ctx.outputs.outs:
50
fail("Only one of output_dir and outs may be specified")
51
- if not ctx.attr.output_dir and not ctx.outputs.outs and not ctx.attr.stdout:
+ if not ctx.attr.output_dir and not len(ctx.outputs.outs) and not ctx.attr.stdout:
52
fail("One of output_dir, outs or stdout must be specified")
53
54
args = ctx.actions.args()
0 commit comments