We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3043aeb commit 7e755c0Copy full SHA for 7e755c0
josh-proxy/src/lib.rs
@@ -137,7 +137,9 @@ pub fn process_repo_update(repo_update: RepoUpdate) -> josh::JoshResult<String>
137
.join(&repo_update.git_ns)
138
.join("push_options");
139
140
- let push_options = std::fs::read_to_string(push_options_path)?;
+ let push_options = std::fs::read_to_string(&push_options_path)?;
141
+ std::fs::remove_file(push_options_path).ok();
142
+
143
let push_options: PushOptions = serde_json::from_str(&push_options)
144
.map_err(|e| josh_error(&format!("Failed to parse push options: {}", e)))?;
145
0 commit comments