From 0cc90d9246ff2c392457632d5030eaca2ca1ca6f Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 25 Nov 2022 17:00:28 -0500 Subject: refactor: move lockfile.rs to args module (#16818) This should be in the `args` folder as it's similar to `config_file`. --- cli/npm/resolution/mod.rs | 2 +- cli/npm/resolution/snapshot.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/npm/resolution') diff --git a/cli/npm/resolution/mod.rs b/cli/npm/resolution/mod.rs index 4a8c2e8e1..15de4ceff 100644 --- a/cli/npm/resolution/mod.rs +++ b/cli/npm/resolution/mod.rs @@ -10,7 +10,7 @@ use deno_core::parking_lot::RwLock; use serde::Deserialize; use serde::Serialize; -use crate::lockfile::Lockfile; +use crate::args::Lockfile; use self::graph::GraphDependencyResolver; use self::snapshot::NpmPackagesPartitioned; diff --git a/cli/npm/resolution/snapshot.rs b/cli/npm/resolution/snapshot.rs index d76ba8b1a..738b68d21 100644 --- a/cli/npm/resolution/snapshot.rs +++ b/cli/npm/resolution/snapshot.rs @@ -13,7 +13,7 @@ use deno_core::parking_lot::Mutex; use serde::Deserialize; use serde::Serialize; -use crate::lockfile::Lockfile; +use crate::args::Lockfile; use crate::npm::cache::should_sync_download; use crate::npm::cache::NpmPackageCacheFolderId; use crate::npm::registry::NpmPackageVersionDistInfo; -- cgit v1.2.3