master
shoaib 4 years ago
parent 9c1397b46f
commit ed224a4f4c
  1. 2
      tools/addImageToWord.js

@ -6,7 +6,7 @@ module.exports = function (docxFile, image) {
return new Promise((resolve, reject) => {
let zipName = docxFile.slice(0, -5) + '.zip'
let filePath = path.join(__dirname + '/../public/files')
exec('mkdir -p word/media')
exec('mkdir -p word/media' , {cwd: filePath})
.then(function (result) {
return Promise.all([

Loading…
Cancel
Save