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.
This commit is contained in:
parent
cf0f11105b
commit
33b3523bf4
@ -177,8 +177,8 @@ export class VscodeHttpProvider extends HttpProvider {
|
|||||||
[
|
[
|
||||||
{ url: route.query.workspace, workspace: true },
|
{ url: route.query.workspace, workspace: true },
|
||||||
{ url: route.query.folder, workspace: false },
|
{ url: route.query.folder, workspace: false },
|
||||||
lastVisited,
|
|
||||||
this.args._ && this.args._.length > 0 ? { url: this.args._[this.args._.length - 1] } : undefined,
|
this.args._ && this.args._.length > 0 ? { url: this.args._[this.args._.length - 1] } : undefined,
|
||||||
|
lastVisited,
|
||||||
],
|
],
|
||||||
remoteAuthority,
|
remoteAuthority,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user