Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev committed Dec 4, 2023
1 parent 84f8b9e commit a6cab40
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions command/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl Config {
contents.insert(key, vec_string.join(","));
}
} else {
panic!("Unsupported Config type for: {key}");
panic!("Unsupported type: Could not write [{key}] to env");
}
}

Expand Down Expand Up @@ -483,20 +483,15 @@ fn validate_string_length(input: &String, length: usize) -> Result<(), String> {
}

fn gitpod_welcome() {
println!("{}", "################".green());
println!(
"{}",
"Your Lichess development environment is starting!".green()
);
println!(
"{}",
"Monitor the progress in the 'lila' container with the command:".green()
);
println!("{}", " docker compose logs lila --follow".green().bold());
println!(
"{}",
"For full documentation, see: https://lichess-org.github.io/lila-gitpod/".green()
);
for line in &[
"################".green(),
"Your Lichess development environment is starting!".green(),
"Monitor the progress in the 'lila' container with the command:".green(),
" docker compose logs lila --follow".green().bold(),
"For full documentation, see: https://lichess-org.github.io/lila-gitpod/".green(),
] {
println!("{line}");
}
}

#[cfg(test)]
Expand Down

0 comments on commit a6cab40

Please sign in to comment.