This commit is contained in:
Calle Kabo 2019-10-16 12:08:29 +13:00
parent 5c9eb2e81c
commit cc76b93b5c

View File

@ -197,7 +197,9 @@ module.exports = {
);
return missing.length === 0
? null
: `statement ${i} is missing the following properties: ${missing.map(m => m.join('/')).join(', ')}`;
: `statement ${i} is missing the following properties: ${missing
.map(m => m.join('/'))
.join(', ')}`;
});
const flawed = descriptions.filter(curr => curr);
if (flawed.length) {