core: resolve legacy shell paths from selected environment

This commit is contained in:
Sayan Sisodiya
2026-06-23 01:04:37 -07:00
parent a24d9864e4
commit 10aae73cc2
3 changed files with 66 additions and 33 deletions
@@ -299,13 +299,6 @@ impl TurnContext {
}
}
#[deprecated(note = "resolve paths from the selected turn environment cwd instead")]
pub(crate) fn resolve_path(&self, path: Option<String>) -> AbsolutePathBuf {
#[allow(deprecated)]
path.as_ref()
.map_or_else(|| self.cwd.clone(), |path| self.cwd.join(path))
}
pub(crate) fn file_system_sandbox_context(
&self,
additional_permissions: Option<AdditionalPermissionProfile>,