(options?: { workspaceRoots?: string[] })
| 39 | } |
| 40 | |
| 41 | export function buildMachineMetadata(options?: { workspaceRoots?: string[] }): MachineMetadata { |
| 42 | return { |
| 43 | host: process.env.HAPI_HOSTNAME || os.hostname(), |
| 44 | platform: os.platform(), |
| 45 | happyCliVersion: packageJson.version, |
| 46 | homeDir: os.homedir(), |
| 47 | happyHomeDir: configuration.happyHomeDir, |
| 48 | happyLibDir: runtimePath(), |
| 49 | workspaceRoots: options?.workspaceRoots |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | export function buildSessionMetadata(options: { |
| 54 | flavor: string |
no test coverage detected