Skip to content

Commit

Permalink
fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev committed Nov 24, 2023
1 parent 1b3a006 commit 907b1d3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions command/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ fn main() -> std::io::Result<()> {

match args[1].as_str() {
"setup" => setup(),
"gitpod-welcome" => gitpod_welcome(),
"gitpod-welcome" => {
gitpod_welcome();
Ok(())
}
_ => panic!("Unknown command"),
}
}
Expand Down Expand Up @@ -316,7 +319,7 @@ fn prompt_for_optional_services() -> Result<Vec<OptionalService>, Error> {
.interact()
}

fn gitpod_welcome() -> std::io::Result<()> {
fn gitpod_welcome() {
println!("{}", "################".green());
println!(
"{}",
Expand All @@ -331,5 +334,4 @@ fn gitpod_welcome() -> std::io::Result<()> {
"{}",
"For full documentation, see: https://lichess-org.github.io/lila-gitpod/".green()
);
Ok(())
}

0 comments on commit 907b1d3

Please sign in to comment.