Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix the NPE for the percent field of the problem
  • Loading branch information
jdneo committed Oct 9, 2019
commit 7d8d9ba7cefd78f0e5378749585209006e57e022
2 changes: 1 addition & 1 deletion lib/commands/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ cmd.handler = function(argv) {
problem.fid,
problem.name,
h.prettyLevel(problem.level),
problem.percent.toFixed(2));
(problem.percent || 0).toFixed(2));

if (argv.extra) {
let badges = [problem.category];
Expand Down