From 16ac611a8410e6bcef8ffc779f488ca4fa102155 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Mon, 17 Jun 2019 19:55:02 +0200 Subject: [PATCH] build: ts-api-guardian npm package contains invalid references (#31096) Currently when building the `ts-api-guardian` npm package, the labels are not properly replaced after recent changes to the `entry_point` attribute. This means that the `ts-api-guardian` package is currently not usable externally. PR Close #31096 --- tools/ts-api-guardian/index.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ts-api-guardian/index.bzl b/tools/ts-api-guardian/index.bzl index d44796b69f..1dd7950a8f 100644 --- a/tools/ts-api-guardian/index.bzl +++ b/tools/ts-api-guardian/index.bzl @@ -61,7 +61,7 @@ def ts_api_guardian_test( nodejs_test( name = name, data = data, - entry_point = "//tools/ts-api-guardian:bin/ts-api-guardian", + entry_point = "@angular//tools/ts-api-guardian:bin/ts-api-guardian", templated_args = args + ["--verify", golden, actual], **kwargs ) @@ -70,7 +70,7 @@ def ts_api_guardian_test( name = name + ".accept", testonly = True, data = data, - entry_point = "//tools/ts-api-guardian:bin/ts-api-guardian", + entry_point = "@angular//tools/ts-api-guardian:bin/ts-api-guardian", templated_args = args + ["--out", golden, actual], **kwargs )