Skip to content

Commit

Permalink
fix: cleaner community-developed plugin warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed May 31, 2024
1 parent a7a90a8 commit 8dcf0f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/asdf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -516,10 +516,10 @@ impl Backend for Asdf {
let url = self.get_repo_url(&config).unwrap_or_default();
if !is_trusted_plugin(self.name(), &url) {
warn!(
"⚠️ {} is a community-developed plugin",
"⚠️ {} is a community-developed plugin – {}",
style(&self.name).blue(),
style(url.trim_end_matches(".git")).yellow()
);
warn!("url: {}", style(url.trim_end_matches(".git")).yellow(),);
if settings.paranoid {
bail!("Paranoid mode is enabled, refusing to install community-developed plugin");
}
Expand Down

0 comments on commit 8dcf0f3

Please sign in to comment.