Skip to content

Commit

Permalink
Fix: should load the manifest if the artifacts are from state file
Browse files Browse the repository at this point in the history
Signed-off-by: popcorny <[email protected]>
  • Loading branch information
popcornylu committed Apr 23, 2024
1 parent c27b540 commit fff45c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recce/adapter/dbt_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ def import_artifacts(self, artifacts: ArtifactsRoot):
self.base_catalog = load_catalog(data=artifacts.base.get('catalog'))
self.curr_manifest = load_manifest(data=artifacts.current.get('manifest'))
self.curr_catalog = load_catalog(data=artifacts.current.get('catalog'))
self.manifest = as_manifest(self.curr_manifest)

if not self.curr_manifest or not self.base_manifest:
raise Exception(
Expand Down

0 comments on commit fff45c7

Please sign in to comment.