We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ffd923 commit 477b731Copy full SHA for 477b731
src/node/routes/vscode.ts
@@ -42,7 +42,7 @@ export class CodeServerRouteWrapper {
42
const lastOpened = settings.query || {}
43
// This flag disables the last opened behavior
44
const IGNORE_LAST_OPENED = req.args["ignore-last-opened"]
45
- const HAS_LAST_OPENED_FOLDER_OR_WORKSPACE = (!WORKSPACE_WAS_CLOSED && lastOpened.folder) || lastOpened.workspace
+ const HAS_LAST_OPENED_FOLDER_OR_WORKSPACE = lastOpened.folder || lastOpened.workspace
46
const HAS_FOLDER_OR_WORKSPACE_FROM_CLI = req.args._.length > 0
47
const to = self(req)
48
0 commit comments