Its a crux!

chore: cleanup

Signed-off-by: Jonathan Basniak <740416+gm112@users.noreply.github.com>

+1 -1
+1 -1
libraries/plist-parser/src/plist-parser.ts
··· 171 171 // Starting the loop at 1 because we do not want to look at the first element. 172 172 for (let index = 1; index + 1 < parts.length; index += 2) { 173 173 const key_part = parts[index] 174 - if (typeof key_part !== 'string' || result[key_part]) 174 + if (typeof key_part !== 'string' || result[key_part] !== undefined) 175 175 throw new Error('invalid_xml' as plist_parser_error_types, { cause: { xml: xml_fragment, key_part, value_part: parts[index + 1] } }) 176 176 177 177 const value_part = parts[index + 1]