mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-05 02:41:45 +00:00
Stop writing legacy pull request files
This commit is contained in:
parent
c681e65fdb
commit
15389780f3
2 changed files with 0 additions and 7 deletions
|
|
@ -131,9 +131,6 @@ async fn create_from(
|
|||
match record {
|
||||
Some(record) => {
|
||||
info!(pr_url = %record.html_url, "Pull request created");
|
||||
if let Err(err) = record.save(&run_dir.join("pull_request.json")) {
|
||||
tracing::warn!(error = %err, "Failed to save pull_request.json");
|
||||
}
|
||||
if globals.json {
|
||||
print_json_pretty(&record)?;
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -585,10 +585,6 @@ pub async fn pull_request(concluded: Concluded, options: &PullRequestOptions) ->
|
|||
draft: pr_cfg.draft,
|
||||
});
|
||||
pr_url = Some(record.html_url.clone());
|
||||
if let Err(e) = record.save(&options.run_dir.join("pull_request.json"))
|
||||
{
|
||||
tracing::warn!(error = %e, "Failed to save pull_request.json");
|
||||
}
|
||||
}
|
||||
Ok(None) => {}
|
||||
Err(e) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue