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

Loading…
Cancel
Save