Deploy dolanmiu/docx to github.com/dolanmiu/docx.git:gh-pages

This commit is contained in:
Deployment Bot (from Travis CI)
2019-08-08 00:15:06 +00:00
parent 91170899c7
commit 376b0f393c
409 changed files with 2812 additions and 2809 deletions

View File

@ -59,9 +59,7 @@ doc.addSection({
});
// Used to export the file into a .docx file
const packer = new Packer();
packer.toBuffer(doc).then((buffer) => {
Packer.toBuffer(doc).then((buffer) => {
fs.writeFileSync("My Document.docx", buffer);
});