Skip to content

Commit

Permalink
Remove the dependency on @nodejs//:node_runfiles
Browse files Browse the repository at this point in the history
These were removed in [#798][798] which is part of `rules_nodejs` from
version 0.31.0 onward.

798: bazel-contrib/rules_nodejs#798
  • Loading branch information
aherrmann committed Apr 10, 2020
1 parent fef7a64 commit 3075e58
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions elm/def.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def _elm_test_impl(ctx):

return [DefaultInfo(
executable = runner_file,
runfiles = ctx.runfiles(ctx.files._node + ctx.files._node_runfiles + ctx.files._run_test + [js_file]),
runfiles = ctx.runfiles(ctx.files._node + ctx.files._run_test + [js_file]),
)]

elm_test = rule(
Expand All @@ -296,10 +296,6 @@ elm_test = rule(
allow_single_file = True,
default = Label("@nodejs//:node"),
),
"_node_runfiles": attr.label(
allow_files = True,
default = Label("@nodejs//:node_runfiles"),
),
"_node_test_runner": attr.label(
providers = [_ElmLibrary],
default = Label(
Expand Down

0 comments on commit 3075e58

Please sign in to comment.