-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add new logo in report #1562
fix: add new logo in report #1562
Conversation
1.Added a global variable servePort with a default value of "8000" 2.Added a new CLI flag --port that allows users to customize the port number used when serving the HTML report 3. Removed the hardcoded port number from the ServeHTML function, using the global servePort variable instead 4. The flag's Action function updates the global servePort variable when a custom port is specified These changes allow users to specify a custom port using the --port flag when using the --serve option, while maintaining the default port 8000 if no custom port is specified.
…xed_issue_#1555 fixed issue google#1555
feature: add a new string flag to help the user specify a server port instead of just using a hard coded value
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1562 +/- ##
=======================================
Coverage 69.29% 69.29%
=======================================
Files 200 200
Lines 19038 19038
=======================================
Hits 13193 13193
Misses 5137 5137
Partials 708 708 ☔ View full report in Codecov by Sentry. |
… that the linter test passes
…imaan-Senapati/osv-scanner into fix_add_new_logo_in_report
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for this :)
fix: added new logo in report_template.gohtml line 18 with
docs/images/osv-scanner-OSV-logo-darkmode.png
as outlined in issue #1554 by @jess-lowe and @hogo6002