* Normalizes the given path, replacing ambiguous path separators * with the platform-specific path separator. * @param {string} input Path to normalize. * @returns {string}
(input)
| 222 | * @returns {string} |
| 223 | */ |
| 224 | function normalizePath(input) { |
| 225 | return input.replace(/[\\|/]+/g, path.sep) |
| 226 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…