mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: update aspect_rules_js to 3.0.2 (#67518)
This updates the major version of `aspect_rules_js`. PR Close #67518
This commit is contained in:
@@ -22,7 +22,7 @@ export function getAngularPackagesFromRunfiles() {
|
||||
const runfilesManifestPath = process.env['RUNFILES_MANIFEST_FILE'];
|
||||
|
||||
if (!runfilesManifestPath) {
|
||||
const packageRunfilesDir = path.join(process.env['RUNFILES']!, '_main/packages');
|
||||
const packageRunfilesDir = path.join(process.env['JS_BINARY__RUNFILES']!, '_main/packages');
|
||||
|
||||
return fs
|
||||
.readdirSync(packageRunfilesDir)
|
||||
@@ -43,5 +43,5 @@ export function getAngularPackagesFromRunfiles() {
|
||||
|
||||
/** Resolves a file or directory from the Bazel runfiles. */
|
||||
export function resolveFromRunfiles(manifestPath: string) {
|
||||
return path.resolve(process.env['RUNFILES']!, manifestPath);
|
||||
return path.resolve(process.env['JS_BINARY__RUNFILES']!, manifestPath);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
load("@aspect_bazel_lib//lib:write_source_files.bzl", "write_source_file")
|
||||
load("@bazel_lib//lib:write_source_files.bzl", "write_source_file")
|
||||
load("//tools:defaults.bzl", "js_binary", "js_run_binary")
|
||||
|
||||
def partial_compliance_golden(filePath):
|
||||
|
||||
Reference in New Issue
Block a user