mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
better names, better jsdoc, fixes #35141
This commit is contained in:
@@ -61,16 +61,16 @@ export class MainThreadDialogs implements MainThreadDiaglogsShape {
|
||||
if (options.defaultUri) {
|
||||
result.defaultPath = options.defaultUri.fsPath;
|
||||
}
|
||||
if (!options.openFiles && !options.openFolders) {
|
||||
options.openFiles = true;
|
||||
if (!options.canSelectFiles && !options.canSelectFolders) {
|
||||
options.canSelectFiles = true;
|
||||
}
|
||||
if (options.openFiles) {
|
||||
if (options.canSelectFiles) {
|
||||
result.properties.push('openFile');
|
||||
}
|
||||
if (options.openFolders) {
|
||||
if (options.canSelectFolders) {
|
||||
result.properties.push('openDirectory');
|
||||
}
|
||||
if (options.openMany) {
|
||||
if (options.canSelectMany) {
|
||||
result.properties.push('multiSelections');
|
||||
}
|
||||
if (options.filters) {
|
||||
|
||||
Reference in New Issue
Block a user