Skip to content

Commit 6b20588

Browse files
committed
minor cosmetics
1 parent 0ed9e50 commit 6b20588

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

scripts/announcements.R

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,12 @@ create_new_posts_with_content <- function(.data) {
133133
create_new_posts_with_content(new_sessions)
134134
create_new_posts_with_content(new_coffee_code)
135135

136-
137-
138-
139-
140136
# Create a GitHub Issue of the session ------------------------------------
141137

142138
post_gh_issue <- function(title, body, labels) {
143139
# Will need to set up a GitHub PAT via (I think) the function
144140
# devtools::github_pat() in the console.
145-
# devtools:::rule("Posting GitHub Issues")
146-
cat("Posting `", title, "`\n\n")
141+
cat("\n\nPosting `", title, "`\n\n")
147142
if (!devtools:::yesno("Are you sure you want to post this event as an Issue?")) {
148143
gh::gh(
149144
"POST /repos/:owner/:repo/issues",
@@ -216,7 +211,6 @@ gh_issue_info_coffee_code <- function(.data) {
216211
select(title, content, gh_labels)
217212
}
218213

219-
220214
create_gh_issues_coffee_code <- function(.data) {
221215
.data %>%
222216
gh_issue_info_coffee_code() %>%
@@ -231,5 +225,3 @@ create_gh_issues_events <- function(.data) {
231225

232226
create_gh_issues_coffee_code(new_coffee_code)
233227
create_gh_issues_events(new_sessions)
234-
235-

0 commit comments

Comments
 (0)