-
Notifications
You must be signed in to change notification settings - Fork 524
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(builtin): don't include external files when pkg_npm is in root pa…
…ckage (#1677) This logic assumed that package_path was non-empty, but when a pkg_npm rule appears in the workspace root, package_path will be empty string and the startswith guard has no effect. Fixes #1499
- Loading branch information
Showing
4 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff BUILD.bazel BUILD.bazel | ||
index 3a519c5..6121ef6 100644 | ||
--- BUILD.bazel | ||
+++ BUILD.bazel | ||
@@ -38,6 +38,7 @@ pkg_npm( | ||
"//internal:npm_package_assets", | ||
"//third_party/github.com/bazelbuild/bazel/src/main/protobuf:npm_package_assets", | ||
], | ||
+ vendor_external = ["build_bazel_rules_typescript"], | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"//devserver:devserver-darwin", |