diff --git a/lib/commands/list.js b/lib/commands/list.js index c010de86..963284a3 100644 --- a/lib/commands/list.js +++ b/lib/commands/list.js @@ -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];