Skip to content

Commit 477b731

Browse files
jsjoeiocode-asher
andauthored
Update src/node/routes/vscode.ts
Co-authored-by: Asher <[email protected]>
1 parent 4ffd923 commit 477b731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/routes/vscode.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class CodeServerRouteWrapper {
4242
const lastOpened = settings.query || {}
4343
// This flag disables the last opened behavior
4444
const IGNORE_LAST_OPENED = req.args["ignore-last-opened"]
45-
const HAS_LAST_OPENED_FOLDER_OR_WORKSPACE = (!WORKSPACE_WAS_CLOSED && lastOpened.folder) || lastOpened.workspace
45+
const HAS_LAST_OPENED_FOLDER_OR_WORKSPACE = lastOpened.folder || lastOpened.workspace
4646
const HAS_FOLDER_OR_WORKSPACE_FROM_CLI = req.args._.length > 0
4747
const to = self(req)
4848

0 commit comments

Comments
 (0)