mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-27 04:35:25 +00:00
Fix Close Folder/Workspace (#2532)
When you choose to close the current folder, it doesn't close properly because the lastVisiited setting is still use. This fixes that.
This commit is contained in:
parent
3394ece107
commit
28c7340608
@ -43,7 +43,7 @@ export class VscodeProvider {
|
|||||||
options.args._ && options.args._.length > 0
|
options.args._ && options.args._.length > 0
|
||||||
? { url: path.resolve(options.args._[options.args._.length - 1]) }
|
? { url: path.resolve(options.args._[options.args._.length - 1]) }
|
||||||
: undefined,
|
: undefined,
|
||||||
!options.args["ignore-last-opened"] ? lastVisited : undefined,
|
!options.args["ignore-last-opened"] && !query.ew ? lastVisited : undefined,
|
||||||
])
|
])
|
||||||
|
|
||||||
settings.write({
|
settings.write({
|
||||||
|
Loading…
Reference in New Issue
Block a user