Skip to content
Snippets Groups Projects
Commit a88ec84e authored by Daniel Brüning's avatar Daniel Brüning
Browse files

clippy fixes

parent 14a09798
Branches contest-scan
Tags
1 merge request!15Contest scan
Pipeline #148 passed
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment