diff options
Diffstat (limited to 'cli/lockfile.rs')
-rw-r--r-- | cli/lockfile.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/lockfile.rs b/cli/lockfile.rs index aa60b5789..b1f0c777f 100644 --- a/cli/lockfile.rs +++ b/cli/lockfile.rs @@ -105,7 +105,7 @@ impl Lockfile { let filename = match flags.lock { Some(ref lock) => PathBuf::from(lock), - None if flags.unstable => match maybe_config_file { + None => match maybe_config_file { Some(config_file) => { if config_file.specifier.scheme() == "file" { let mut path = config_file.specifier.to_file_path().unwrap(); @@ -117,7 +117,6 @@ impl Lockfile { } None => return Ok(None), }, - None => return Ok(None), }; let lockfile = Self::new(filename, flags.lock_write)?; |