Description:
modernized from == nil should be changed to nil?
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r575:7190ed55d920 - - 1 file changed: 2 inserted, 2 deleted
@@ -1,11 +1,11 | |||
|
1 | 1 | |
|
2 |
- - if submission |
|
|
2 | + - if submission.nil? | |
|
3 | 3 | = "-" |
|
4 | 4 | - else |
|
5 |
- - if submission.graded_at |
|
|
5 | + - if submission.graded_at.nil? | |
|
6 | 6 | =t 'main.submitted_at' |
|
7 | 7 | = format_short_time(submission.submitted_at.localtime) |
|
8 | 8 | - else |
|
9 | 9 | = t 'main.graded_at' |
|
10 | 10 | = "#{format_short_time(submission.graded_at.localtime)}, " |
|
11 | 11 | - if GraderConfiguration['ui.show_score'] |
You need to be logged in to leave comments.
Login now