Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
fix(solidity/core/slither): runned cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSwapFeeder committed Dec 11, 2023
1 parent a7ba6a1 commit 7b9b6ad
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions toolchains/solidity/core/crates/slither-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ impl LanguageServer for Backend {
async fn initialize(&self, _: InitializeParams) -> Result<InitializeResult> {
if !is_slither_installed() {
self.client
.show_message(MessageType::ERROR, "Slither is not installed! Please install it and restart the extension")
.show_message(
MessageType::ERROR,
"Slither is not installed! Please install it and restart the extension",
)
.await;
self.client
.log_message(MessageType::ERROR, "Slither is not installed!")
Expand All @@ -27,7 +30,10 @@ impl LanguageServer for Backend {
}
if !is_solc_installed() {
self.client
.show_message(MessageType::ERROR, "Solc is not installed! Please install it and restart the extension")
.show_message(
MessageType::ERROR,
"Solc is not installed! Please install it and restart the extension",
)
.await;
self.client
.log_message(MessageType::ERROR, "Solc is not installed!")
Expand Down

0 comments on commit 7b9b6ad

Please sign in to comment.