mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-27 04:35:25 +00:00
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.folder, workspace: false },
|
||||
lastVisited,
|
||||
this.args._ && this.args._.length > 0 ? { url: this.args._[this.args._.length - 1] } : undefined,
|
||||
lastVisited,
|
||||
],
|
||||
remoteAuthority,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user