Skip to content

Commit 5410873

Browse files
Format files
1 parent dfe55ec commit 5410873

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

graphql_client_cli/src/introspect_schema.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ pub fn introspect_schema(
3434
operation_name: introspection_query::OPERATION_NAME,
3535
};
3636

37-
let client = reqwest::Client::builder().danger_accept_invalid_certs(no_ssl).build()?;
37+
let client = reqwest::Client::builder()
38+
.danger_accept_invalid_certs(no_ssl)
39+
.build()?;
3840

3941
let mut req_builder = client.post(location).headers(construct_headers());
4042

graphql_client_cli/src/main.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,13 @@ fn main() -> anyhow::Result<()> {
8484
authorization,
8585
headers,
8686
no_ssl,
87-
} => introspect_schema::introspect_schema(&schema_location, output, authorization, headers, no_ssl),
87+
} => introspect_schema::introspect_schema(
88+
&schema_location,
89+
output,
90+
authorization,
91+
headers,
92+
no_ssl,
93+
),
8894
Cli::Generate {
8995
variables_derives,
9096
response_derives,

0 commit comments

Comments
 (0)