(parts: string[], isAbsolute = false)
| 1 | export const constructPath = (parts: string[], isAbsolute = false) => { |
| 2 | const filteredParts = parts.filter(part => !!part); |
| 3 | return `${isAbsolute ? '/' : ''}${filteredParts.join('/')}`; |
| 4 | }; |
no outgoing calls
no test coverage detected