Skip to content

Commit

Permalink
fix: removed now unused packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ghyatzo committed Apr 6, 2024
1 parent 04dbb35 commit ca0fa47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/command_selfupdate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub fn run_command_selfupdate(paths: &GlobalPaths) -> Result<()> {
use crate::operations::{download_extract_sans_parent, download_juliaup_version};
use crate::utils::get_juliaserver_base_url;
use crate::{get_juliaup_target, get_own_version};
use anyhow::{anyhow, bail};
use anyhow::bail;

update_version_db(paths).with_context(|| "Failed to update versions db.")?;

Expand Down
2 changes: 0 additions & 2 deletions src/global_paths.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use crate::get_juliaup_target;
#[cfg(feature = "selfupdate")]
use anyhow::Context;
#[cfg(feature = "selfupdate")]
use crate::utils::get_juliaup_path;
use anyhow::{anyhow, bail, Result};
use std::path::PathBuf;
Expand Down

0 comments on commit ca0fa47

Please sign in to comment.