Skip to content

Commit

Permalink
Handle <null /> nodes when parsing plist
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Apr 26, 2022
1 parent d48c5a0 commit ac5c75c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ function parsePlistXML (node) {
)
return new Date(node.childNodes[0].nodeValue);

} else if (node.nodeName === 'null') {
return null;

} else if (node.nodeName === 'true') {
return true;

Expand Down

0 comments on commit ac5c75c

Please sign in to comment.