提交 a63ee852 编写于 作者: J Johannes Rieken

Merge branch 'master' into joh/progress-api

...@@ -35,11 +35,15 @@ export class ExtHostWorkspace { ...@@ -35,11 +35,15 @@ export class ExtHostWorkspace {
let path: string; let path: string;
if (typeof pathOrUri === 'string') { if (typeof pathOrUri === 'string') {
path = pathOrUri; path = pathOrUri;
} else { } else if (typeof pathOrUri !== 'undefined') {
path = pathOrUri.fsPath; path = pathOrUri.fsPath;
} }
if (!path || !this._workspacePath) { if (!path) {
return path;
}
if (!this._workspacePath) {
return normalize(path); return normalize(path);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册