Skip to content

Commit

Permalink
Doug/fix extra call to reports (#14)
Browse files Browse the repository at this point in the history
* Fixed issue where the default branch reports were being done twice and causing the logic for  to be bypassed

* Build for new version
  • Loading branch information
dacoburn authored Oct 15, 2024
1 parent ebc53a2 commit 37faf8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion socketsync/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


__author__ = 'socket.dev'
__version__ = '1.0.14'
__version__ = '1.0.15'
__all__ = [
"log",
"__version__",
Expand Down
2 changes: 0 additions & 2 deletions socketsync/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,6 @@ def get_issues(self) -> list:

@staticmethod
def handle_reports(reports: list, issues: list) -> list:
if default_only:
reports = Core.get_latest_default_branch()
for report in reports:
report: Report
log.debug(f"Getting results for scan id {report.id}")
Expand Down

0 comments on commit 37faf8c

Please sign in to comment.