Skip to content

Commit

Permalink
fix credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin committed Nov 27, 2023
1 parent 580d729 commit 8b70f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/huggingface_hub/utils/_git_credential.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def list_credential_helpers(folder: Optional[str] = None) -> List[str]:
return sorted( # Sort for nice printing
set( # Might have some duplicates
re.findall(
r"^\s*credential\.helper\s*=\s*(\w*)\s*$",
r"^\s*credential\.helper\s*=\s*(\w*)\s*.*$",
output,
flags=re.MULTILINE | re.IGNORECASE,
)
Expand Down

0 comments on commit 8b70f5e

Please sign in to comment.