未验证 提交 04542c99 编写于 作者: A Asher

Resolve passed-in directory

Makes relative paths work correctly.
上级 8c47ba25
......@@ -177,7 +177,7 @@ export class VscodeHttpProvider extends HttpProvider {
[
{ url: route.query.workspace, workspace: true },
{ url: route.query.folder, workspace: false },
this.args._ && this.args._.length > 0 ? { url: this.args._[this.args._.length - 1] } : undefined,
this.args._ && this.args._.length > 0 ? { url: path.resolve(this.args._[this.args._.length - 1]) } : undefined,
lastVisited,
],
remoteAuthority,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册