Comparing version 0.1.6 to 0.1.7
@@ -76,3 +76,3 @@ #!/usr/bin/env node | ||
console.log(msgTarget + msgLength + msgLines); | ||
const [minLength, maxLength] = test.length; | ||
const [minLength, maxLength] = test.length || []; | ||
if (targetLength > maxLength) throw new Error('Solution is too long'); | ||
@@ -79,0 +79,0 @@ if (targetLength < minLength) throw new Error('Solution is too short'); |
{ | ||
"name": "hpw", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>", | ||
@@ -38,4 +38,4 @@ "description": "Labs Auto Checker", | ||
"devDependencies": { | ||
"eslint": "^6.3.0" | ||
"eslint": "^6.4.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
13090