Join a base directory with a `./`/`../` relative source path.
(base: string, rel: string)
| 249 | |
| 250 | /** Join a base directory with a `./`/`../` relative source path. */ |
| 251 | function joinDirs(base: string, rel: string): string { |
| 252 | return path.join(base === '.' ? '' : base, rel); |
| 253 | } |
| 254 | |
| 255 | /** Normalize to the stored path shape: forward slashes, '.' for the root. */ |
| 256 | function normalizeRel(p: string): string { |
no test coverage detected