File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export class CodeServerRouteWrapper {
28
28
const isAuthenticated = await authenticated ( req )
29
29
const NO_FOLDER_OR_WORKSPACE_QUERY = ! req . query . folder && ! req . query . workspace
30
30
// Ew means the workspace was closed so clear the last folder/workspace.
31
- const WORKSPACE_WAS_CLOSED = req . query . ew
31
+ const FOLDER_OR_WORKSPACE_WAS_CLOSED = req . query . ew
32
32
33
33
if ( ! isAuthenticated ) {
34
34
const to = self ( req )
@@ -37,7 +37,7 @@ export class CodeServerRouteWrapper {
37
37
} )
38
38
}
39
39
40
- if ( NO_FOLDER_OR_WORKSPACE_QUERY && ! WORKSPACE_WAS_CLOSED ) {
40
+ if ( NO_FOLDER_OR_WORKSPACE_QUERY && ! FOLDER_OR_WORKSPACE_WAS_CLOSED ) {
41
41
const settings = await req . settings . read ( )
42
42
const lastOpened = settings . query || { }
43
43
// This flag disables the last opened behavior
You can’t perform that action at this time.
0 commit comments