mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 08:08:39 +01:00
Fix #67544
This commit is contained in:
@@ -28,9 +28,14 @@ export function getCustomDataPathsInAllWorkspaces(workspaceFolders: WorkspaceFol
|
||||
wfCSSConfig.workspaceFolderValue.experimental &&
|
||||
wfCSSConfig.workspaceFolderValue.experimental.customData
|
||||
) {
|
||||
wfCSSConfig.workspaceFolderValue.experimental.customData.forEach(p => [
|
||||
dataPaths.push(path.resolve(wf.uri.fsPath, p))
|
||||
]);
|
||||
const customData = wfCSSConfig.workspaceFolderValue.experimental.customData;
|
||||
if (Array.isArray(customData)) {
|
||||
customData.forEach(t => {
|
||||
if (typeof t === 'string') {
|
||||
dataPaths.push(path.resolve(wf.uri.fsPath, t));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user