(path: string)
| 250 | isAbsolute(id) ? realPathOf(id) : id |
| 251 | |
| 252 | export const realPathOf = (path: string): string => { |
| 253 | try { |
| 254 | return realpathSync.native(path) |
| 255 | } catch { |
| 256 | return resolve(path) |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | export const printablePathOf = (from: string, to: string): string => |
| 261 | relative(from, to).split(sep).join("/") |
no test coverage detected