You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
analyze/report silently reports a missing path as an empty repo #1
A mistyped or missing path should produce a clear error and a non-zero exit code, not a report that looks like a valid but empty repository.
Cause
scan_repo in src/autocto/repo.py returns an empty RepoAnalysis when the path does not exist, so callers cannot tell an empty repo apart from a wrong path.
Suggested fix
Have scan_repo raise on a missing or non-directory path, and have the analyze and report commands surface a clean one-line error with a non-zero exit code.
Activity
Raise on a missing or non-directory path in scan_repo