Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
if (args.mac != null) {
processTargets(Platform.MAC, args.mac)
}
if (args.linux != null) {
processTargets(Platform.LINUX, args.linux)
}
if (args.win != null) {
processTargets(Platform.WINDOWS, args.win)
}
if (targets.size === 0) {
processTargets(Platform.current(), [])
}
const result: any = {...args}
result.targets = targets
delete result.dir
delete result.mac
delete result.linux
delete result.win
const r = result as any
delete r.m
delete r.o
delete r.l
delete r.w
delete r.windows