Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
before(async () => {
const logs = await spawn('./src/cli.js', args, null, null)
printLogs(logs)
})
module.exports = async function (cmd, args, logger) {
return spawn(cmd, args, logger, updateExecutableMissingException)
}
module.exports = function (cmd, args, logger) {
return spawn(cmd, args, logger, updateExecutableMissingException)
}
module.exports = async function (cmd, args, logger) {
if (process.platform !== 'win32') {
args.unshift(cmd)
cmd = 'mono'
}
return spawn(cmd, args, logger, updateExecutableMissingException)
}