Skip to content

Commit 2220a88

Browse files
committed
Normalize dbt manifest artifact keys
1 parent a062d57 commit 2220a88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • python_modules/libraries/dagster-dg-cli/dagster_dg_cli/cli/plus/integrations

python_modules/libraries/dagster-dg-cli/dagster_dg_cli/cli/plus/integrations/dbt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def manage_manifest_command(
115115
continue
116116

117117
download_path = project.state_path.joinpath("manifest.json")
118-
key = f"{key_prefix}{os.fspath(download_path)}"
118+
key = f"{key_prefix}{os.fspath(download_path.resolve())}"
119119

120120
if is_branch:
121121
click.echo(f"Downloading {source_deployment} manifest for branch deployment.")
@@ -205,7 +205,7 @@ def download_manifest_command(
205205
for project in projects_with_state:
206206
assert project.state_path is not None
207207
download_path = project.state_path.joinpath("manifest.json")
208-
key = f"{key_prefix}{os.fspath(download_path)}"
208+
key = f"{key_prefix}{os.fspath(download_path.resolve())}"
209209
dest = output_path if output_path else download_path
210210

211211
dest.parent.mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)