Skip to content

Commit fed0ea7

Browse files
committed
Fix clippy and add files to gitignore
1 parent b1e9f5d commit fed0ea7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ target/
22
.env
33
.DS_Store
44
__pycache__/
5+
*.review.json
6+
*.try.json

src/permissions.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ impl TeamApiClient {
106106
TeamSource::Url(base_url) => {
107107
let normalized_name = repository_name.replace('-', "_");
108108
let url = format!(
109-
"{}/v1/permissions/bors.{normalized_name}.{permission}.json",
110-
base_url
109+
"{base_url}/v1/permissions/bors.{normalized_name}.{permission}.json",
111110
);
112111
let users = reqwest::get(url)
113112
.await

0 commit comments

Comments
 (0)