Skip to content

Commit

Permalink
Auto init repo
Browse files Browse the repository at this point in the history
  • Loading branch information
rylev committed Feb 9, 2023
1 parent 5a50ba8 commit c8f9a2e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/github/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,13 @@ impl GitHub {
struct Req<'a> {
name: &'a str,
description: &'a str,
auto_init: bool,
}
let req = &Req { name, description };
let req = &Req {
name,
description,
auto_init: true,
};
debug!("Creating the repo {org}/{name} with {req:?}");
if self.dry_run {
Ok(Repo {
Expand Down

0 comments on commit c8f9a2e

Please sign in to comment.