Skip to content

Commit

Permalink
fix: making default pr be draft. (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
blmalone authored Oct 24, 2024
1 parent 53e4476 commit ccb54d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/subcommands/remote/submit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,9 @@ impl SubmitCmd {
let body = inquire::Editor::new("Pull request description")
.with_file_extension(".md")
.prompt()?;
let is_draft = inquire::Confirm::new("Is this PR a draft?").prompt()?;
let is_draft = inquire::Confirm::new("Is this PR a draft? (default: yes)")
.with_default(true)
.prompt()?;

Ok(PRCreationMetadata {
title,
Expand Down

0 comments on commit ccb54d5

Please sign in to comment.