Commit a88ec84e authored by Daniel Brüning's avatar Daniel Brüning
Browse files

clippy fixes

parent 14a09798
Pipeline #148 passed with stage
in 5 minutes and 10 seconds
......@@ -245,13 +245,13 @@ fn main() {
println!("applying migrations …");
db_apply_migrations::test(&mut conn);
if opt.onlycontestscan == true || config.no_contest_scan == Some(false) {
if opt.onlycontestscan || config.no_contest_scan == Some(false) {
println!("scanning for contests …");
refresh_all_contests(&mut conn);
println!("finished")
}
if opt.onlycontestscan == false {
if !opt.onlycontestscan {
add_admin_user(&mut conn, opt.resetadminpw);
match start_server(conn, config) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment