summaryrefslogtreecommitdiff
path: root/cli/factory.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-03-07 11:30:30 -0500
committerGitHub <noreply@github.com>2024-03-07 17:30:30 +0100
commit594d8397ad46a90389bec9a76afde1bc7f1fa35b (patch)
tree9238e775513197042429fd9340cdc9bf792e7cd7 /cli/factory.rs
parent87a08fc3b2d0ed1e5a197628fa7091cb656c9058 (diff)
fix(publish): properly display graph validation errors (#22775)
The graph validation errors were displaying cryptically during publish. This fixes that.
Diffstat (limited to 'cli/factory.rs')
-rw-r--r--cli/factory.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/factory.rs b/cli/factory.rs
index 5bd5fe149..fb4297045 100644
--- a/cli/factory.rs
+++ b/cli/factory.rs
@@ -651,7 +651,6 @@ impl CliFactory {
.get_or_try_init_async(async {
Ok(Arc::new(ModuleGraphCreator::new(
self.options.clone(),
- self.fs().clone(),
self.npm_resolver().await?.clone(),
self.module_graph_builder().await?.clone(),
self.maybe_lockfile().clone(),
@@ -689,7 +688,6 @@ impl CliFactory {
.get_or_try_init_async(async {
Ok(Arc::new(ModuleLoadPreparer::new(
self.options.clone(),
- self.fs().clone(),
self.graph_container().clone(),
self.maybe_lockfile().clone(),
self.module_graph_builder().await?.clone(),