lib/neetob/cli/github/search.rb in neetob-0.4.16 vs lib/neetob/cli/github/search.rb in neetob-0.4.19
- old
+ new
@@ -30,10 +30,10 @@
else
check_and_delete_remote_branch(repo)
find_and_replace_keyword(repo)
ui.say("No changes were made to #{repo}, check if keyword exists.") and next if !are_changes_made?(repo)
- ui.info(add_commmit_and_push_changes(repo))
+ ui.info(add_commmit_and_push_changes!(repo))
delete_local_feature_branch(repo)
pull_request = client.create_pull_request(repo, "main", branch_name, pr_title)
ui.success("Successfully replaced \"#{key_to_search}\" with \"#{replacement_term}\" in #{repo}")
ui.success("PR Link:- #{pull_request.html_url}")
end