Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
plietar committed Jan 14, 2025
1 parent 6b3e83a commit 499ef62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/helper-orderly-runner.R
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,16 @@ git_add_and_commit <- function(path, add = ".", message = "new commit") {
}


git_add_and_commit <- function(path, add = ".") {
git_add_and_commit <- function(path, add = ".", message = "new commit") {
gert::git_add(add, repo = path)
user <- "author <[email protected]>"
gert::git_commit("new commit", author = user, committer = user, repo = path)
gert::git_commit(message, author = user, committer = user, repo = path)
}


create_new_commit <- function(path, new_file = "new", add = ".") {
create_new_commit <- function(path, new_file = "new", add = ".", ...) {
writeLines(ids::random_id(), file.path(path, new_file))
git_add_and_commit(path, add)
git_add_and_commit(path, add, ...)
}


Expand Down

0 comments on commit 499ef62

Please sign in to comment.