From b4ce890e4d86e312c122f7445ab7c23dd461aa6f Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Tue, 2 Apr 2024 18:36:45 -0400 Subject: [PATCH] refactor: remove unused src_directory from NpmPackageStoreInfo (#1566) --- npm/private/npm_package_store.bzl | 1 - npm/private/npm_package_store_info.bzl | 1 - 2 files changed, 2 deletions(-) diff --git a/npm/private/npm_package_store.bzl b/npm/private/npm_package_store.bzl index 10c423073..d134a82ee 100644 --- a/npm/private/npm_package_store.bzl +++ b/npm/private/npm_package_store.bzl @@ -330,7 +330,6 @@ deps of npm_package_store must be in the same package.""" % (ctx.label.package, package = package, version = version, ref_deps = direct_ref_deps, - src_directory = src_directory, virtual_store_directory = virtual_store_directory, files = files_depset, transitive_files = transitive_files_depset, diff --git a/npm/private/npm_package_store_info.bzl b/npm/private/npm_package_store_info.bzl index 96164660b..910274810 100644 --- a/npm/private/npm_package_store_info.bzl +++ b/npm/private/npm_package_store_info.bzl @@ -11,7 +11,6 @@ NpmPackageStoreInfo = provider( "package": "name of this npm package", "version": "version of this npm package", "ref_deps": "dictionary of dependency npm_package_store ref targets", - "src_directory": "the directory (typically a TreeArtifact) that contains the package sources", "virtual_store_directory": "the TreeArtifact of this npm package's virtual store location", "files": "depset of files that are part of the npm package", "transitive_files": "depset of the files that are part of the npm package and its transitive deps",