(dartSdkPath: string, args: string[])
| 69 | type SpawnFunction = (workingDirectory: string | undefined, binPath: string, args: string[], env: Record<string, string | undefined> | undefined) => SpawnedProcess; |
| 70 | |
| 71 | export function getPubExecutionInfo(dartSdkPath: string, args: string[]): ExecutionInfo { |
| 72 | // TODO(dantup): Inline this now there's no condition? |
| 73 | return { |
| 74 | args: ["pub", ...args], |
| 75 | executable: path.join(dartSdkPath, dartVMPath), |
| 76 | }; |
| 77 | } |
| 78 | |
| 79 | export interface ExecutionInfo { |
| 80 | executable: string; |
no outgoing calls
no test coverage detected