Skip to content

Commit

Permalink
Restyled by rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Feb 13, 2020
1 parent 43b5b9e commit aec6906
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ fn write_linux_distro(file: &mut File) {
match distro {
"ubuntu" => {
file.write(b"FROM ubuntu:latest\n").unwrap();
},
}
"alpine" => {
file.write(b"FROM alpine:latest\n").unwrap();
},
}
"debian" => {
file.write(b"FROM debian:latest\n").unwrap();
},
}
_ => {
println!("\x1b[33mUnknown Distro Re-routing to Ubuntu\x1b[0m");
file.write("FROM ubuntu\n".as_bytes()).unwrap();
Expand Down

0 comments on commit aec6906

Please sign in to comment.