diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-09-13 11:59:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-13 11:59:01 -0400 |
commit | 73efed218fe94ab27e89675ee238e2933b3fd4d1 (patch) | |
tree | 6961287971d127599a90a348bb6a9bc6256f7cd9 /cli/npm/resolution.rs | |
parent | 51ba4764d1ca089eb65d333eb8797e064ac4c550 (diff) |
refactor(npm): create general use `NpmPackageResolver` (#15882)
Diffstat (limited to 'cli/npm/resolution.rs')
-rw-r--r-- | cli/npm/resolution.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/npm/resolution.rs b/cli/npm/resolution.rs index 8fac92716..4bde3b340 100644 --- a/cli/npm/resolution.rs +++ b/cli/npm/resolution.rs @@ -471,6 +471,8 @@ impl NpmResolution { !self.snapshot.read().packages.is_empty() } + // todo(dsherret): for use in the lsp + #[allow(dead_code)] pub fn snapshot(&self) -> NpmResolutionSnapshot { self.snapshot.read().clone() } |