tidy up: is always true

This commit is contained in:
John McLear 2021-02-21 16:43:16 +00:00
parent 0f8f2b88ae
commit c83a85117d

View file

@ -1759,7 +1759,7 @@ exports.makeAttribsString = (opcode, attribs, pool) => {
return '';
} else if ((typeof attribs) === 'string') {
return attribs;
} else if (pool && attribs && attribs.length) {
} else if (pool && attribs.length) {
if (attribs.length > 1) {
attribs = attribs.slice();
attribs.sort();