Skip to content

Commit 058139d

Browse files
authored
Merge pull request #8 from rust-lang/msg-exact
Make `gh` PR creation prompt more accurate
2 parents e5ede82 + 178ddb7 commit 058139d

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)