Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Sep 30, 2024
1 parent 5a68c18 commit 322a703
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions library_generation/cli/entry_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ def __generate_repo_and_pr_description_impl(
current_generation_config_path = os.path.abspath(current_generation_config_path)
repository_path = os.path.abspath(repository_path)
api_definitions_path = os.path.abspath(api_definitions_path)
print(f"baseline: {os.listdir(current_generation_config_path)}")
print(f"api-definition: {os.listdir(api_definitions_path)}")
if not baseline_generation_config_path:
# Execute full generation based on current_generation_config if
# baseline_generation_config is not specified.
Expand Down
2 changes: 0 additions & 2 deletions library_generation/test/integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,9 @@ def __copy_api_definition(cls, committish: str) -> str:
dest=tempfile.mkdtemp(), repo="googleapis", committish=committish
)
api_temp_dir = tempfile.mkdtemp()
print(os.listdir(f"{repo_dest}/google"))
print(f"Copying api definition to {api_temp_dir}...")
copytree(f"{repo_dest}/google", f"{api_temp_dir}/google", dirs_exist_ok=True)
copytree(f"{repo_dest}/grafeas", f"{api_temp_dir}/grafeas", dirs_exist_ok=True)
print(os.listdir(f"{api_temp_dir}/google"))
rmtree(repo_dest)
return api_temp_dir

Expand Down

0 comments on commit 322a703

Please sign in to comment.