Commit f6f12374 authored by Jan Potoms's avatar Jan Potoms

remove resume()

parent 7c2fbb20
......@@ -62,7 +62,7 @@ module.exports = function parse(content) {
var prevToken = null,
currentGroup = null;
var build = through(function (token) {
switch (token.type) {
case START_GROUP:
......@@ -90,7 +90,7 @@ module.exports = function parse(content) {
});
break;
}
prevToken = token.type;
});
......@@ -106,8 +106,6 @@ module.exports = function parse(content) {
.on('end', function () {
resolve(result);
});
content.resume();
});
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment