()
| 56 | } |
| 57 | |
| 58 | function getBashMaxLines(): number { |
| 59 | return parseEnvNumber( |
| 60 | process.env.CONTINUE_CLI_BASH_MAX_OUTPUT_LINES, |
| 61 | DEFAULT_BASH_MAX_LINES, |
| 62 | ); |
| 63 | } |
| 64 | |
| 65 | // Helper function to use login shell on Unix/macOS and PowerShell on Windows and available shell in WSL |
| 66 | function getShellCommand(command: string): { shell: string; args: string[] } { |
no test coverage detected