mirror of
https://github.com/denoland/deno.git
synced 2025-07-19 11:15:04 +00:00
refactor: Move lockfile to a separate crate (#17503)
Moves the lockfile implementation to a separate crate so other projects like Deploy can use it as well.
This commit is contained in:
parent
cd19231306
commit
bf237c6241
11 changed files with 659 additions and 604 deletions
|
@ -502,7 +502,7 @@ impl CliOptions {
|
|||
pub fn from_flags(flags: Flags) -> Result<Self, AnyError> {
|
||||
let maybe_config_file = ConfigFile::discover(&flags)?;
|
||||
let maybe_lock_file =
|
||||
Lockfile::discover(&flags, maybe_config_file.as_ref())?;
|
||||
lockfile::discover(&flags, maybe_config_file.as_ref())?;
|
||||
Ok(Self::new(flags, maybe_config_file, maybe_lock_file))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue