diff options
Diffstat (limited to 'cli/args/lockfile.rs')
-rw-r--r-- | cli/args/lockfile.rs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/cli/args/lockfile.rs b/cli/args/lockfile.rs index 30db49b7a..8817975cf 100644 --- a/cli/args/lockfile.rs +++ b/cli/args/lockfile.rs @@ -157,15 +157,7 @@ impl CliLockfile { .unwrap_or(false) }); - let lockfile = if flags.lock_write { - log::warn!( - "{} \"--lock-write\" flag is deprecated and will be removed in Deno 2.", - crate::colors::yellow("Warning") - ); - CliLockfile::new(Lockfile::new_empty(filename, true), frozen) - } else { - Self::read_from_path(filename, frozen)? - }; + let lockfile = Self::read_from_path(filename, frozen)?; // initialize the lockfile with the workspace's configuration let root_url = workspace.root_dir(); |