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:
Robert Beach 2021-01-18 08:28:29 -08:00 committed by GitHub
parent 3394ece107
commit 28c7340608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ export class VscodeProvider {
options.args._ && options.args._.length > 0
? { url: path.resolve(options.args._[options.args._.length - 1]) }
: undefined,
!options.args["ignore-last-opened"] ? lastVisited : undefined,
!options.args["ignore-last-opened"] && !query.ew ? lastVisited : undefined,
])
settings.write({