We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1e8efd commit fc5274dCopy full SHA for fc5274d
codeflash/code_utils/compat.py
@@ -1,5 +1,4 @@
1
import os
2
-import shutil
3
import sys
4
import tempfile
5
from pathlib import Path
@@ -18,7 +17,6 @@ class Compat:
18
17
LF: str = os.linesep
19
20
SAFE_SYS_EXECUTABLE: str = Path(sys.executable).as_posix()
21
- SAFE_GREP_EXECUTABLE: str = shutil.which("grep") # works even grep is aliased in the env
22
23
IS_POSIX: bool = os.name != "nt"
24
@@ -47,4 +45,3 @@ def codeflash_cache_db(self) -> Path:
47
45
LF = _compat.LF
48
46
SAFE_SYS_EXECUTABLE = _compat.SAFE_SYS_EXECUTABLE
49
IS_POSIX = _compat.IS_POSIX
50
-SAFE_GREP_EXECUTABLE = _compat.SAFE_GREP_EXECUTABLE
0 commit comments