(cwd: string, value: string)
| 979 | } |
| 980 | |
| 981 | function resolvePath(cwd: string, value: string) { |
| 982 | const trimmed = value.replace(/[\r\n]+$/, "") |
| 983 | if (!trimmed) return cwd |
| 984 | const normalized = FSUtil.windowsPath(trimmed) |
| 985 | if (path.isAbsolute(normalized)) return path.normalize(normalized) |
| 986 | return path.resolve(cwd, normalized) |
| 987 | } |
no outgoing calls
no test coverage detected