Skip to content

Commit

Permalink
Fix function.
Browse files Browse the repository at this point in the history
  • Loading branch information
maciekbanas committed Oct 7, 2024
1 parent af20413 commit 2730946
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/EngineGraphQLGitHub.R
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ EngineGraphQLGitHub <- R6::R6Class(
org_files_list <- private$get_repositories_with_files(
repositories = repositories,
def_branches = def_branches,
org = org,
file_paths = file_paths,
host_files_structure = host_files_structure,
only_text_files = only_text_files,
Expand Down Expand Up @@ -240,6 +241,7 @@ EngineGraphQLGitHub <- R6::R6Class(

get_repositories_with_files = function(repositories,
def_branches,
org,
host_files_structure,
only_text_files,
file_paths,
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-get_files_content-GitHub.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ test_that("get_repositories_with_files works", {
gh_repositories_with_files <- test_graphql_github_priv$get_repositories_with_files(
repositories = c("test_repo_1", "test_repo_2", "test_repo_3", "test_repo_4", "test_repo_5"),
def_branches = c("test_branch_1", "test_branch_2", "test_branch_3", "test_branch_4", "test_branch_5"),
org = "test-org",
file_paths = "test_files",
only_text_files = TRUE,
host_files_structure = NULL,
Expand Down

0 comments on commit 2730946

Please sign in to comment.