Skip to content

Commit

Permalink
💥
Browse files Browse the repository at this point in the history
  • Loading branch information
delqw authored Apr 19, 2017
1 parent e66eab0 commit dd13613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ var decorateItunes = function decorateItunes(json, channel) {
Parser.parseString = function(xml, callback) {
XML2JS.parseString(xml, function(err, result) {
if (err) return callback(err);
if (!result) callback(new Error('Result is not defined'));
if (!result) return callback(new Error('Result is not defined'));
if (result.feed) {
return parseAtomFeed(result, callback)
} else if (result.rss && result.rss.$.version && result.rss.$.version.indexOf('2') === 0) {
Expand Down

0 comments on commit dd13613

Please sign in to comment.