Skip to content

Commit

Permalink
Remove useless exception
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Aug 22, 2024
1 parent 6f4531b commit f8884ea
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions javascript/src/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ exports.get_answer = function(n) {
continue;
}
if (type === 'str') {
if (value.length !== Number(size)) {
throw new Error('string length does not match');
}
return value;
}
return Number(value);
Expand Down

0 comments on commit f8884ea

Please sign in to comment.