Skip to content
Permalink
Browse files

Cleans up output HTML file from Pandoc builds

  • Loading branch information
davidmerfield committed Dec 16, 2019
1 parent 1c434c7 commit ffe9f21c8599d8e4f7cffc81ace7ee14c4bde126
Showing with 4 additions and 2 deletions.
  1. +2 −1 app/build/converters/docx/index.js
  2. +2 −1 app/build/converters/odt/index.js
@@ -172,7 +172,8 @@ function read(blog, path, options, callback) {
html = metadataString + html;
}

return callback(null, html, stat);
callback(null, html, stat);
fs.remove(outPath, function(err){});
});
});
});
@@ -171,7 +171,8 @@ function read(blog, path, options, callback) {
html = metadataString + html;
}

return callback(null, html, stat);
callback(null, html, stat);
fs.remove(outPath, function(err){});
});
});
});

0 comments on commit ffe9f21

Please sign in to comment.
You can’t perform that action at this time.