Skip to content

Commit 178ddb7

Browse files
committed
Make gh PR creation prompt more accurate
"rustc pull PR" might sound like it will create a PR towards rust-lang/rust, but that's not what happens.
1 parent e5ede82 commit 178ddb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/rustc_josh_sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fn load_context(config_path: &Path, rust_version_path: &Path) -> anyhow::Result<
152152
fn maybe_create_gh_pr(repo: &str, title: &str, description: &str) -> anyhow::Result<bool> {
153153
if which::which("gh").is_ok()
154154
&& prompt(
155-
"Do you want to create a rustc pull PR using the `gh` tool?",
155+
&format!("Do you want to create a {repo} pull PR using the `gh` tool?"),
156156
false,
157157
)
158158
{

0 commit comments

Comments
 (0)