Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
svenwillger committed Apr 29, 2024
1 parent 62513e9 commit 989406d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cubi-tools/prototypes/update_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ def main():
if ref_repo != DEFAULT_REF_REPO:
metadata_branch = pathlib.Path(args.ref_repo).resolve()
if not metadata_branch.is_dir():
raise FileNotFoundError(f"The project directory {metadata_branch} does not exist.")
print(f"Project directory set as: {metadata_branch}")
raise FileNotFoundError(f"The reference directory {metadata_branch} does not exist.")
print(f"Reference directory set as: {metadata_branch}")
else:
metadata_branch = pathlib.Path(
pathlib.Path(f"{working_dir}").resolve().parents[0],
"template-metadata-files",
).resolve()
print(f"Project directory set as: {metadata_branch}")
print(f"Reference directory set as: {metadata_branch}")

# detect if its a external workflow
if external:
Expand Down

0 comments on commit 989406d

Please sign in to comment.