remove bad formatting in _fd_path
This commit is contained in:
parent
56beea9dea
commit
6c5ddfe7d2
1 changed files with 1 additions and 3 deletions
|
@ -108,9 +108,7 @@ def canonical_name(repo: Path) -> str:
|
||||||
|
|
||||||
|
|
||||||
def _fd_path() -> str:
|
def _fd_path() -> str:
|
||||||
fd_path: Optional[str] = (
|
fd_path: Optional[str] = shutil.which("fdfind") or shutil.which("fd-find") or shutil.which("fd")
|
||||||
shutil.which("fdfind") or shutil.which("fd-find") or shutil.which("fd")
|
|
||||||
)
|
|
||||||
if fd_path is None:
|
if fd_path is None:
|
||||||
high(f"my.coding.commits requires 'fd' to be installed, See https://github.com/sharkdp/fd#installation")
|
high(f"my.coding.commits requires 'fd' to be installed, See https://github.com/sharkdp/fd#installation")
|
||||||
# TODO: this just causes it to fail if 'fd' can't be found, but the warning is still sent... seems fine?
|
# TODO: this just causes it to fail if 'fd' can't be found, but the warning is still sent... seems fine?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue