We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c8e4d5 commit 8777660Copy full SHA for 8777660
1 file changed
src/vs/workbench/services/dialogs/browser/simpleFileDialog.ts
@@ -448,7 +448,7 @@ export class SimpleFileDialog {
448
449
private filePickBoxValue(): URI {
450
// The file pick box can't render everything, so we use the current folder to create the uri so that it is an existing path.
451
- const directUri = this.remoteUriFrom(this.filePickBox.value);
+ const directUri = this.remoteUriFrom(this.filePickBox.value.trimRight());
452
const currentPath = this.pathFromUri(this.currentFolder);
453
if (equalsIgnoreCase(this.filePickBox.value, currentPath)) {
454
return this.currentFolder;
0 commit comments