未验证 提交 33b3523b 编写于 作者: A Asher

Prefer command-line directory to last visited directory

If you want to use the last visited directory you should omit the
directory from the command line.

Fixes #1132.
上级 cf0f1110
......@@ -177,8 +177,8 @@ export class VscodeHttpProvider extends HttpProvider {
[
{ url: route.query.workspace, workspace: true },
{ url: route.query.folder, workspace: false },
lastVisited,
this.args._ && this.args._.length > 0 ? { url: 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.
先完成此消息的编辑!
想要评论请 注册