Description:
fixed dry option bug in contest mode
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r95:8569b91a13b7 - - 1 file changed: 1 inserted, 1 deleted
@@ -274,13 +274,13 | |||
|
274 | 274 | end |
|
275 | 275 | |
|
276 | 276 | when "contest" |
|
277 | 277 | # always use dry run when grading during contest |
|
278 | 278 | contest_name = ARGV.shift |
|
279 | 279 | |
|
280 | - options[:dry_run] = true | |
|
280 | + dry_run = options[:dry_run] = true | |
|
281 | 281 | |
|
282 | 282 | contest = Contest.find_by_name(contest_name) |
|
283 | 283 | if contest==nil |
|
284 | 284 | puts "cannot find contest: #{contest_name}" |
|
285 | 285 | exit(0) |
|
286 | 286 | end |
You need to be logged in to leave comments.
Login now