Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async pack(outDir: string, arch: Arch, targets: Array, taskManager: AsyncTaskManager): Promise {
// skip pack
const helperClass: typeof SquirrelWindowsTarget = require("electron-builder-squirrel-windows").default
this.effectiveDistOptions = await (new helperClass(this, outDir).computeEffectiveDistOptions())
await this.sign(this.computeAppOutDir(outDir, arch))
}