chore(cloudcmd) lint

This commit is contained in:
coderaiser 2019-02-18 18:47:02 +02:00
parent d6674aed3e
commit 3bac819760
14 changed files with 21 additions and 19 deletions

View file

@ -58,7 +58,7 @@ module.exports.findObjByNameInArr = (array, name) => {
if (!Array.isArray(array))
throw Error('array should be array!');
if (typeof name !== 'string')
throw Error('name should be string!');