(filePath: string)
| 295 | * Expand a relative path to absolute path. |
| 296 | */ |
| 297 | export function expandFilePath(filePath: string): string { |
| 298 | if (isAbsolute(filePath)) { |
| 299 | return filePath |
| 300 | } |
| 301 | return join(getAttributionRepoRoot(), filePath) |
| 302 | } |
| 303 | |
| 304 | /** |
| 305 | * Create an empty attribution state for a new session. |
no test coverage detected