(...paths: string[])
| 228 | * @returns a joined path! |
| 229 | */ |
| 230 | export function join(...paths: string[]): string { |
| 231 | /** |
| 232 | * When normalizing, we should _not_ attempt to relativize the path returned by the native Node `join` method. When |
| 233 | * calculating the path from each of the string-based parts, Node does not prepend './' to any calculated path. |
| 234 | * |
| 235 | * Note that our algorithm does differ from Node's, as described in this function's JSDoc regarding trailing |
| 236 | * slashes. |
| 237 | */ |
| 238 | return normalizePath(path.join(...paths), false); |
| 239 | } |
| 240 | |
| 241 | /** |
| 242 | * A wrapped version of node.js' {@link path.resolve} which adds our custom |
no test coverage detected