Skip to content

Commit

Permalink
build: use relative_update() instead of update()
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop committed Jul 9, 2023
1 parent c7e18e5 commit f684b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dvc_data/hashfile/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def _build_tree(
# objects like `dir/` might be used to create an empty dir
continue

callback.update()
callback.relative_update(1)
meta, obj = _build_file(
f"{root}{fs.sep}{fname}", fs, name, odb=odb, **kwargs
)
Expand Down

0 comments on commit f684b56

Please sign in to comment.