(cwd: string, p: string)
| 18 | |
| 19 | /** Resolve a possibly-relative path against the workspace. */ |
| 20 | export function resolveWorkspacePath(cwd: string, p: string): string { |
| 21 | if (!p) return cwd |
| 22 | return path.isAbsolute(p) ? p : path.resolve(cwd, p) |
| 23 | } |
no outgoing calls
no test coverage detected