Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
19c8e9c7bThis file is pinned to the selected release. Download the original to open it in your design tool.
const fs = require('fs')
const writeOutputDataToFile = (outputFile, outputData) => {
fs.writeFile(outputFile, outputData.asBuffer(),
(err) => {
if (err) {
console.log('err', err)
} else {
// console.log('success')
}
}
)
}
module.exports = writeOutputDataToFile