Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
a88ec84e
Commit
a88ec84e
authored
Jul 05, 2019
by
Daniel Brüning
Browse files
clippy fixes
parent
14a09798
Pipeline
#148
passed with stage
in 5 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main.rs
View file @
a88ec84e
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment