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