Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit afc5cd6

Browse files
committed
Leetcode-cn DOES NOT have dislike data
1 parent 791cdcf commit afc5cd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/commands/show.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ function showProblem(problem, argv) {
156156
log.printf('* Likes: %s', problem.likes);
157157
if (problem.dislikes)
158158
log.printf('* Dislikes: %s', problem.dislikes);
159+
else
160+
log.printf('* Dislikes: -');
159161
if (problem.totalAC)
160162
log.printf('* Total Accepted: %s', problem.totalAC);
161163
if (problem.totalSubmit)

0 commit comments

Comments
 (0)