| 5 | const PISTON_API_KEY = process.env.PISTON_API_KEY; |
| 6 | |
| 7 | interface ExecuteInput { |
| 8 | args?: string[]; |
| 9 | code: string; |
| 10 | language: string; |
| 11 | stdin?: string; |
| 12 | } |
| 13 | |
| 14 | export async function executeCode(input: ExecuteInput) { |
| 15 | if (!input.code) { |
nothing calls this directly
no outgoing calls
no test coverage detected