From 4f10970f6ea1f4cf88c93f0f7074dda4a05d41c8 Mon Sep 17 00:00:00 2001 From: Eli Schleifer <1265982+EliSchleifer@users.noreply.github.com> Date: Thu, 28 Mar 2024 14:24:24 -0700 Subject: [PATCH] Update main.rs --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 591a61add770..3605ebdeb7c4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -110,8 +110,8 @@ fn create_pull_request(words: &[String]) -> String { let commit_msg = format!("Moving words {}", words.join(", ")); git(&["commit", "-am", &commit_msg]); - git(&["push", "-set-upstream", "origin", "HEAD"]); - + git(&["push", "--set-upstream", "origin", "HEAD"]); + let pr_url = git(&[ "pr", "create",