(args: string[])
| 36 | ]; |
| 37 | |
| 38 | function looksInteractiveShellArgs(args: string[]): boolean { |
| 39 | return ( |
| 40 | args.length === 0 || |
| 41 | args.includes("-i") || |
| 42 | args.includes("--login") || |
| 43 | args.includes("-l") || |
| 44 | args.includes("-s") |
| 45 | ); |
| 46 | } |
| 47 | |
| 48 | function isNonInteractiveShellExec(args: string[]): boolean { |
| 49 | return ( |
no outgoing calls
no test coverage detected