Loading files
e9342c9b2This 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(),
function (err) {
if (err) {
console.log('err', err)
} else {
// console.log('success')
}
}
)
}
module.exports = writeOutputDataToFile