Skip to content

Commit 606381a

Browse files
committed
Simplfiy error
1 parent 8a661ce commit 606381a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

github_activity/github_activity.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -467,11 +467,7 @@ def generate_activity_md(
467467
# This happens when the repository has no issues/PRs in the date range
468468
if data.empty:
469469
raise ValueError(
470-
f"No activity found for {org}/{repo} between {since} and {until}.\n"
471-
f"This could mean:\n"
472-
f" - No issues or pull requests were created or closed in this period\n"
473-
f" - The repository had no activity during these dates\n"
474-
f" - The date range or filters are too restrictive"
470+
f"No activity found for {org}/{repo} between {since} and {until}."
475471
)
476472

477473
# Filter the PRs by branch (or ref) if given

0 commit comments

Comments
 (0)