Skip to content

Commit

Permalink
feat: Updated fluere-plugin/src/downloader.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 2, 2024
1 parent 2d2a104 commit c47bfc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluere-plugin/src/downloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::path::Path;

pub fn download_plugin_from_github(repo_name: &str) -> Result<(), std::io::Error> {
let url = format!("https://github.com/{}.git", repo_name);
let path = home_cache_path();
let path = home_cache_path()?;
let cd_cmd = format!("cd {}", path.display());
if !path.exists() {
std::fs::create_dir_all(path.clone())?;
Expand Down

0 comments on commit c47bfc7

Please sign in to comment.