()
| 705 | } |
| 706 | |
| 707 | async function tryBuildConfigTs() { |
| 708 | try { |
| 709 | if (process.env.IS_BINARY === "true") { |
| 710 | await buildConfigTsWithBinary(); |
| 711 | } else { |
| 712 | await buildConfigTsWithNodeModule(); |
| 713 | } |
| 714 | } catch (e) { |
| 715 | console.log( |
| 716 | `Build error. Please check your ~/.continue/config.ts file: ${e}`, |
| 717 | ); |
| 718 | } |
| 719 | } |
| 720 | |
| 721 | async function buildConfigTsWithBinary() { |
| 722 | const cmd = [ |
no test coverage detected