mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
Require rollout file for sharing
This commit is contained in:
@@ -3738,7 +3738,11 @@ impl ChatWidget {
|
||||
self.add_error_message("Current session is not ready to share yet.".to_string());
|
||||
return;
|
||||
};
|
||||
if self.rollout_path().is_none() {
|
||||
let Some(rollout_path) = self.rollout_path() else {
|
||||
self.add_error_message("Current session is not ready to share yet.".to_string());
|
||||
return;
|
||||
};
|
||||
if !rollout_path.exists() {
|
||||
self.add_error_message("Current session is not ready to share yet.".to_string());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user