Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 28c7340

Browse files
authored
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.
1 parent 3394ece commit 28c7340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/node/vscode.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class VscodeProvider {
4343
options.args._ && options.args._.length > 0
4444
? { url: path.resolve(options.args._[options.args._.length - 1]) }
4545
: undefined,
46-
!options.args["ignore-last-opened"] ? lastVisited : undefined,
46+
!options.args["ignore-last-opened"] &&!query.ew? lastVisited : undefined,
4747
])
4848

4949
settings.write({

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /