- Notifications
You must be signed in to change notification settings - Fork897
chore: export code scanning funcs#162
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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.
Pull Request Overview
This PR exports code scanning functions so they become part of the package public interface.
- Renames getCodeScanningAlert to GetCodeScanningAlert
- Renames listCodeScanningAlerts to ListCodeScanningAlerts in both the production code and tests
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
pkg/github/code_scanning_test.go | Updated function calls in tests to use exported function names |
pkg/github/code_scanning.go | Exported functions by renaming them with uppercase initial letters |
eaa9e32
toe10f392
CompareThere 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.
🚀
9a5fe11
intomainUh oh!
There was an error while loading.Please reload this page.
Exports code scanning functions so they are part of the package public interface.