(cmd)
| 2 | const { execSync } = require("child_process"); |
| 3 | |
| 4 | function execCmdSync(cmd) { |
| 5 | try { |
| 6 | execSync(cmd); |
| 7 | } catch (err) { |
| 8 | console.error(`Error executing command '${cmd}': `, err.output.toString()); |
| 9 | process.exit(1); |
| 10 | } |
| 11 | } |
| 12 | |
| 13 | function autodetectPlatformAndArch() { |
| 14 | platform = { |
no test coverage detected