about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--yt/src/main.rs12
1 files changed, 1 insertions, 11 deletions
diff --git a/yt/src/main.rs b/yt/src/main.rs
index 6106117..9fee4cc 100644
--- a/yt/src/main.rs
+++ b/yt/src/main.rs
@@ -12,7 +12,7 @@
 // to print it anyways.
 #![allow(clippy::missing_errors_doc)]
 
-use std::{collections::HashMap, fs, sync::Arc};
+use std::{fs, sync::Arc};
 
 use anyhow::{Context, Result, bail};
 use app::App;
@@ -29,7 +29,6 @@ use tokio::{
     io::{BufReader, stdin},
     task::JoinHandle,
 };
-use url::Url;
 use yt_dlp::wrapper::info_json::InfoJson;
 
 use crate::{cli::Command, storage::subscriptions};
@@ -224,15 +223,6 @@ async fn main() -> Result<()> {
                         .context("Failed to deserialize value")?,
                 );
             }
-            CheckCommand::UpdateInfoJson { path } => {
-                let string = fs::read_to_string(&path)
-                    .with_context(|| format!("Failed to read '{}' to string!", path.display()))?;
-
-                drop(
-                    serde_json::from_str::<HashMap<Url, InfoJson>>(&string)
-                        .context("Failed to deserialize value")?,
-                );
-            }
         },
         Command::Comments {} => {
             comments::comments(&app).await?;