Skip to content

Commit

Permalink
Polish.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Nov 22, 2023
1 parent b05985d commit 2380c3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/cli/src/commands/migrate/v0_20.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub async fn migrate() -> SystemResult {

#[cfg(not(windows))]
fn update_shell() -> SystemResult {
use crate::shell::{self, format_env_var};
use crate::shell::format_env_var;

info!("Updating shell profile...");

Expand Down
1 change: 0 additions & 1 deletion crates/core/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use once_cell::sync::Lazy;
use regex::Regex;
use serde::de::DeserializeOwned;
use serde::Serialize;
use sha2::digest::typenum::Len;
use sha2::{Digest, Sha256};
use starbase_archive::is_supported_archive_extension;
use starbase_utils::dirs::home_dir;
Expand Down
4 changes: 2 additions & 2 deletions crates/core/src/tool.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
use crate::error::ProtoError;
use crate::events::*;
use crate::helpers::{
extract_filename_from_url, hash_file_contents, is_archive_file, is_cache_enabled, is_offline,
ENV_VAR,
remove_bin_file, ENV_VAR,
};
use crate::host_funcs::{create_host_functions, HostData};
use crate::proto::ProtoEnvironment;
use crate::shimmer::{get_shim_file_names, ShimContext, SHIM_VERSION};
use crate::tool_manifest::ToolManifest;
use crate::version_resolver::VersionResolver;
use crate::{events::*, remove_bin_file};
use extism::{manifest::Wasm, Manifest as PluginManifest};
use miette::IntoDiagnostic;
use proto_pdk_api::*;
Expand Down

0 comments on commit 2380c3b

Please sign in to comment.