(
file: string,
args: string[],
options: { cwd: string },
)
| 22 | } |
| 23 | |
| 24 | async function execFileText( |
| 25 | file: string, |
| 26 | args: string[], |
| 27 | options: { cwd: string }, |
| 28 | ): Promise<string> { |
| 29 | const result = await runCmd(file, args, { |
| 30 | cwd: options.cwd, |
| 31 | timeoutMs: SUBPROCESS_TIMEOUT_MS, |
| 32 | }); |
| 33 | return result.stdout; |
| 34 | } |
| 35 | |
| 36 | function packInstalledPackage(tempRoot: string): string { |
| 37 | const packDir = path.join(tempRoot, 'pack'); |
no test coverage detected