Skip to content

Commit a6cab40

Browse files
committed
cleanup
1 parent 84f8b9e commit a6cab40

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

command/src/main.rs

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl Config {
9494
contents.insert(key, vec_string.join(","));
9595
}
9696
} else {
97-
panic!("Unsupported Config type for: {key}");
97+
panic!("Unsupported type: Could not write [{key}] to env");
9898
}
9999
}
100100

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

485485
fn gitpod_welcome() {
486-
println!("{}", "################".green());
487-
println!(
488-
"{}",
489-
"Your Lichess development environment is starting!".green()
490-
);
491-
println!(
492-
"{}",
493-
"Monitor the progress in the 'lila' container with the command:".green()
494-
);
495-
println!("{}", " docker compose logs lila --follow".green().bold());
496-
println!(
497-
"{}",
498-
"For full documentation, see: https://lichess-org.github.io/lila-gitpod/".green()
499-
);
486+
for line in &[
487+
"################".green(),
488+
"Your Lichess development environment is starting!".green(),
489+
"Monitor the progress in the 'lila' container with the command:".green(),
490+
" docker compose logs lila --follow".green().bold(),
491+
"For full documentation, see: https://lichess-org.github.io/lila-gitpod/".green(),
492+
] {
493+
println!("{line}");
494+
}
500495
}
501496

502497
#[cfg(test)]

0 commit comments

Comments
 (0)