This commit is contained in:
Johannes Rieken
2019-04-12 09:59:18 +02:00
parent 39012b2463
commit 261fa9f939
15 changed files with 27 additions and 24 deletions

View File

@@ -17,7 +17,7 @@ export class ExtHostDialogs {
showOpenDialog(options: vscode.OpenDialogOptions): Promise<URI[] | undefined> {
return this._proxy.$showOpenDialog(options).then(filepaths => {
return filepaths ? filepaths.map(URI.revive) : undefined;
return filepaths ? filepaths.map(p => URI.revive(p)) : undefined;
});
}