lint: Fixed linter complaints in paths module
CI / All (ubuntu-latest) (push) Failing after 25s
CI / All (macos-latest) (push) Has been cancelled
CI / All (windows-latest) (push) Has been cancelled

This commit is contained in:
2026-06-18 14:32:07 -06:00
parent 3299a4699e
commit 373d80121a
+1 -3
View File
@@ -42,9 +42,7 @@ pub fn sandbox_kit_override() -> Option<PathBuf> {
}
pub fn translate_sandboxed_home_path(path: &Path) -> Option<PathBuf> {
if env::var_os("IS_SANDBOX").is_none() {
return None;
}
env::var_os("IS_SANDBOX")?;
let s = path.to_str()?;