Skip to content

Commit

Permalink
output: fix get_entry dep object generation for imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla authored and efiop committed Nov 13, 2022
1 parent 014a38f commit a753ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvc/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def get_entry(self) -> "DataIndexEntry":
entry.path = dep.fs_path
entry.meta = dep.meta
if not entry.obj:
if not dep.obj:
if not dep.obj and dep.files:
dep.obj = dep.get_obj()
entry.obj = dep.obj
return entry
Expand Down

0 comments on commit a753ee2

Please sign in to comment.