From cbdb2c56d4763f302732603692a42c12006f2520 Mon Sep 17 00:00:00 2001 From: Andreas Herrmann Date: Fri, 10 Apr 2020 19:23:53 +0200 Subject: [PATCH] Remove the dependency on `@nodejs//:node_runfiles` These were removed in [#798][#798] which is part of `rules_nodejs` from version 0.31.0 onward. [#798]: https://github.com/bazelbuild/rules_nodejs/pull/798 --- elm/def.bzl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/elm/def.bzl b/elm/def.bzl index 9b641d9..041cbb4 100644 --- a/elm/def.bzl +++ b/elm/def.bzl @@ -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( @@ -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(