(path: string)
| 185 | * @returns A POSIX-style path |
| 186 | */ |
| 187 | export function toPosixPath(path: string): string { |
| 188 | if (getPlatform() === 'windows') { |
| 189 | return windowsPathToPosixPath(path) |
| 190 | } |
| 191 | return path |
| 192 | } |
| 193 | |
| 194 | function getSettingsPaths(): string[] { |
| 195 | return SETTING_SOURCES.map(source => |
no test coverage detected