Skip to content

Commit dc3745b

Browse files
fix
1 parent 2e9ca8a commit dc3745b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gitingest/utils/git_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import asyncio
66
import base64
7+
import os
78
import re
89
from typing import Final
910
from urllib.parse import urlparse
@@ -116,7 +117,7 @@ async def check_repo_exists(url: str, token: str | None = None) -> bool:
116117
"--write-out",
117118
"%{http_code}",
118119
"-o",
119-
"/dev/null",
120+
os.devnull,
120121
]
121122

122123
if token and is_github_host(url):

0 commit comments

Comments
 (0)