diff --git a/pyproject.toml b/pyproject.toml index d1826a6..4abab05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ packages=["ragdaemon"] [project] name = "ragdaemon" -version = "0.8.1" +version = "0.8.2" description = "Generate and render a call graph for a Python project." readme = "README.md" dependencies = [ diff --git a/ragdaemon/io/local_io.py b/ragdaemon/io/local_io.py index cdd5bf9..1907ca7 100644 --- a/ragdaemon/io/local_io.py +++ b/ragdaemon/io/local_io.py @@ -51,7 +51,7 @@ def is_git_repo(self, path: Optional[Path | str] = None): if path: args.append(Path(path).as_posix()) try: - output = subprocess.run(args, cwd=self.cwd) + output = subprocess.run(args, cwd=self.cwd, capture_output=True) return output.returncode == 0 except subprocess.CalledProcessError: return False