()
| 650 | } |
| 651 | |
| 652 | function simdeckBinary() { |
| 653 | if (process.env.SIMDECK_BINARY) { |
| 654 | return process.env.SIMDECK_BINARY; |
| 655 | } |
| 656 | const sourceBinary = path.join(packageRoot, "build", "simdeck"); |
| 657 | if (fs.existsSync(sourceBinary)) { |
| 658 | return sourceBinary; |
| 659 | } |
| 660 | return path.join(packageRoot, "build", "simdeck-bin"); |
| 661 | } |
| 662 | |
| 663 | async function execJson(command, args) { |
| 664 | return JSON.parse(await execText(command, args)); |
no outgoing calls
no test coverage detected