fixed colored contributors option bug
This commit is contained in:
1 parent
b71fc15e66
commit
7af4781134
1 file changed
+3
-1
+3
-1
@@ -424,7 +424,9 @@ impl App {
|
||||
|
||||
fn print_contributors(&self) {
|
||||
match fs::read_to_string("./contributors.txt") {
|
||||
Ok(contents) => println!("{}", contents),
|
||||
Ok(contents) => {
|
||||
write_color_buffer(BufferWriter::stdout(ColorChoice::Always), None, &contents).ok();
|
||||
}
|
||||
Err(err) => {
|
||||
AlertMessage::alert(&format!("{}", err)).ok();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user