Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}).then((res) => {
const app = path.join(res[0], `${pkg.productName}.app`)
console.log('flating...', app)
flat({ app }, function done (err) {
if (err) {
throw err
}
process.exit(0);
})
})