(filePath: string)
| 235 | * Expand a relative path to absolute path. |
| 236 | */ |
| 237 | export function expandFilePath(filePath: string): string { |
| 238 | if (isAbsolute(filePath)) { |
| 239 | return filePath |
| 240 | } |
| 241 | return join(getAttributionRepoRoot(), filePath) |
| 242 | } |
| 243 | |
| 244 | /** |
| 245 | * Create an empty attribution state for a new session. |
no test coverage detected