fix: remove check for WSLENV envvar
it cannot be used to check for WSL session since it's set even for
non-WSL sessions
@@ -109,7 +109,6 @@ pub fn load(event_sink: ExtEventSink, path: Option<String>) -> Self {
#[cfg(target_os = "windows")]
let workspace_type =
if !env::var("WSL_DISTRO_NAME").unwrap_or_default().is_empty()
- || !env::var("WSLENV").unwrap_or_default().is_empty()
|| !env::var("WSL_INTEROP").unwrap_or_default().is_empty()
{
LapceWorkspaceType::RemoteWSL
