Skip to content

Commit

Permalink
fix: use depset constructor to join depsets
Browse files Browse the repository at this point in the history
  • Loading branch information
manekinekko authored and alexeagle committed Feb 5, 2019
1 parent b7eae90 commit f1301e7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/node/node.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,7 @@ def _nodejs_binary_impl(ctx):
is_executable = True,
)

runfiles = depset(
transitive = [sources + [node, ctx.outputs.loader, ctx.file._repository_args] + node_modules + ctx.files._node_runfiles],
)
runfiles = depset([node, ctx.outputs.loader, ctx.file._repository_args] + node_modules + ctx.files._node_runfiles, transitive = [sources])

return [DefaultInfo(
executable = ctx.outputs.script,
Expand Down

0 comments on commit f1301e7

Please sign in to comment.