提交 ef588203 编写于 作者: A Alex Ross

Fix file picker item selection for files that start with .

Fixes #78293
上级 fef6ca7c
...@@ -762,8 +762,8 @@ export class RemoteFileDialog { ...@@ -762,8 +762,8 @@ export class RemoteFileDialog {
private pathAppend(uri: URI, additional: string): string { private pathAppend(uri: URI, additional: string): string {
if ((additional === '..') || (additional === '.')) { if ((additional === '..') || (additional === '.')) {
const basePath = this.pathFromUri(uri); const basePath = this.pathFromUri(uri, true);
return basePath + this.separator + additional; return basePath + additional;
} else { } else {
return this.pathFromUri(resources.joinPath(uri, additional)); return this.pathFromUri(resources.joinPath(uri, additional));
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册