( raw: string, baseDir: string, homeDir: string, )
| 26 | } |
| 27 | |
| 28 | function resolvePathRelativeTo( |
| 29 | raw: string, |
| 30 | baseDir: string, |
| 31 | homeDir: string, |
| 32 | ): string { |
| 33 | const expanded = expandPath(raw, homeDir); |
| 34 | if (path.isAbsolute(expanded)) return expanded; |
| 35 | return path.join(baseDir, expanded); |
| 36 | } |
| 37 | |
| 38 | function createConfigSchema(defaults: { |
| 39 | defaultWorkspaceRoot: string; |
no test coverage detected