mirror of
https://github.com/openai/codex.git
synced 2026-05-04 05:11:37 +03:00
Fix exec-server filesystem default construction
In codex-rs/exec-server/src/server/filesystem.rs, construct a default Environment before calling get_filesystem so the default filesystem implementation compiles in CI.
This commit is contained in:
@@ -36,7 +36,7 @@ pub(crate) struct ExecServerFileSystem {
|
||||
impl Default for ExecServerFileSystem {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
file_system: Arc::new(Environment.get_filesystem()),
|
||||
file_system: Arc::new(Environment::default().get_filesystem()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user