We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9bb253 commit d33e745Copy full SHA for d33e745
lib/core.js
@@ -90,7 +90,7 @@ core.getProblem = function(keyword, cb) {
90
if (e) return cb(e);
91
92
const problem = problems.find(function(x) {
93
- return x.fid + '' === keyword || x.name === keyword || x.slug === keyword;
+ return x.fid + '' === keyword + '' || x.name === keyword || x.slug === keyword;
94
});
95
if (!problem) return cb('Problem not found!');
96
core.next.getProblem(problem, cb);
0 commit comments