} else {
for (const folder of rootFolders) {
if (!seen.has(absolutePath)) {
seen.add(absolutePath);
const { searchRoot, filePattern } = resolveSearchLocation(type, absolutePath);
result.push({ uri: absolutePath, searchRoot: searchRoot, filePattern, source: sourceFolder.source, storage: sourceFolder.storage, displayPath: configuredLocation, isDefault });
}
}
}
} catch (error) {