diff options
Diffstat (limited to 'cli/npm/resolution')
-rw-r--r-- | cli/npm/resolution/snapshot.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cli/npm/resolution/snapshot.rs b/cli/npm/resolution/snapshot.rs index d7da35eba..ad6aee6d9 100644 --- a/cli/npm/resolution/snapshot.rs +++ b/cli/npm/resolution/snapshot.rs @@ -275,11 +275,7 @@ impl NpmResolutionSnapshot { id: package_id.clone(), copy_index: copy_index_resolver.resolve(&package_id), // temporary dummy value - dist: NpmPackageVersionDistInfo { - tarball: "foobar".to_string(), - shasum: "foobar".to_string(), - integrity: Some("foobar".to_string()), - }, + dist: NpmPackageVersionDistInfo::default(), dependencies, }; |