Skip to content

Commit

Permalink
fix push after EOF error
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsudolio authored and Michal committed Mar 18, 2021
1 parent 61cf9b2 commit a436b36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/parse_stream/svg.js
Expand Up @@ -161,6 +161,7 @@ module.exports = function () {

if (result) {
parser.push(result);
state = STATE_IGNORE;
parser.push(null);
break;
}
Expand Down

0 comments on commit a436b36

Please sign in to comment.