Add git clean to reset git install

This commit is contained in:
JonnyWong16 2024-05-18 14:29:53 -07:00
commit 73cfa8e0c0
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -394,6 +394,7 @@ def reset_git_install():
output, err = runGit('branch -u {}/{}'.format(plexpy.CONFIG.GIT_REMOTE,
plexpy.CONFIG.GIT_BRANCH))
output, err = runGit('reset --hard {}'.format(common.RELEASE))
_, _ = runGit('clean -fd')
if not output:
logger.error('Unable to reset Tautulli installation.')