Skip to content

Commit

Permalink
chore: clean-up duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
hetangmodi-crest committed Sep 13, 2024
1 parent 42e04a9 commit e55f298
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions splunk_add_on_ucc_framework/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,8 @@ def get_os_path(path: str) -> str:

if "\\\\" in path:
path = path.replace("\\\\", sep)
path = path.replace("\\\\", sep)
else:
path = path.replace("\\", sep)
path = path.replace("/", sep)
return path.strip(sep)
path = path.replace("\\", sep)
path = path.replace("/", sep)
return path.strip(sep)

Expand Down

0 comments on commit e55f298

Please sign in to comment.