We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc0a3b4 commit e23c025Copy full SHA for e23c025
rust/src/metadata.rs
@@ -23,7 +23,6 @@ use std::fs::File;
23
use std::path::{Path, PathBuf};
24
use std::time::{SystemTime, UNIX_EPOCH};
25
26
-const METADATA_FILE_OLD: &str = "selenium-manager.json";
27
const METADATA_FILE: &str = "se-metadata.json";
28
29
#[derive(Serialize, Deserialize)]
@@ -61,10 +60,6 @@ pub struct Metadata {
61
60
}
62
63
fn get_metadata_path(cache_path: PathBuf) -> PathBuf {
64
- let old_metadata = cache_path.join(METADATA_FILE_OLD);
65
- if old_metadata.exists() {
66
- fs::remove_file(old_metadata).unwrap_or_default();
67
- }
68
cache_path.join(METADATA_FILE)
69
70
0 commit comments