export function getOSDefaultPaths()

in src/sublimeFolderFinder.ts [24:32]


export function getOSDefaultPaths(): string[] {
    const platform: NodeJS.Platform = os.platform();
    const foundPaths: string[] | undefined = defaultSublimeSettingsPaths.get(platform);
    if (!foundPaths) {
        console.error('OS could not be identified. No default paths provided.');
        return [];
    }
    return foundPaths;
}