mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
core: resolve legacy shell paths from selected environment
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user