* @param {string} maybeAbsolutePath * @param {string} cwd * @returns {string}
(maybeAbsolutePath, cwd)
| 97 | * @returns {string} |
| 98 | */ |
| 99 | function toAbsolutePath(maybeAbsolutePath, cwd) { |
| 100 | return path.isAbsolute(maybeAbsolutePath) |
| 101 | ? maybeAbsolutePath |
| 102 | : path.resolve(cwd, maybeAbsolutePath) |
| 103 | } |
| 104 | |
| 105 | /** |
| 106 | * @param {string} destination |
no outgoing calls
no test coverage detected
searching dependent graphs…