Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BalaBalaYi committed Jul 13, 2024
1 parent c21501a commit 8faea42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlrover/python/util/common_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_dlrover_version():
if not version:
# get from setup.py
setup_file = fu.find_file_in_parents("setup.py")
if not setup_file:
if setup_file:
return get_version_from_setup(setup_file)
return "Unknown"
return version

Check warning on line 30 in dlrover/python/util/common_util.py

View check run for this annotation

Codecov / codecov/patch

dlrover/python/util/common_util.py#L29-L30

Added lines #L29 - L30 were not covered by tests
Expand Down

0 comments on commit 8faea42

Please sign in to comment.