Skip to content

Commit

Permalink
fix: retrieve profile path as posix to support relative paths
Browse files Browse the repository at this point in the history
Signed-off-by: Jennifer Power <[email protected]>
  • Loading branch information
jpower432 committed Jul 20, 2023
1 parent 73d068a commit b84f38c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trestlebot/tasks/authored/compdef.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def create_new_default(

catalog = ProfileResolver.get_resolved_profile_catalog(
trestle_root,
existing_profile_path.as_uri(),
existing_profile_path.as_posix(),
)

controls = CatalogInterface.get_control_ids_from_catalog(catalog)
Expand Down Expand Up @@ -153,7 +153,7 @@ def create_new_default(

get_control_implementation(
component=component,
source=existing_profile_path.as_uri(),
source=existing_profile_path.as_posix(),
description="",
controls=controls,
)
Expand Down

0 comments on commit b84f38c

Please sign in to comment.