Skip to content
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

[DON'T REVIEW/MERGE] Test codeql error #7595

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from

Conversation

santisecco
Copy link
Member

Fixes None

What changes did you make?

  • Added a function to a random file to test a codeql error trigger.

Why did you make the changes (we will use this info to test)?

  • In order to obtain an example of how this error will look like for the PR instructions.

Screenshots of Proposed Changes To The Website (if any, please do not include screenshots of code changes)

No visual changes to the webstite

Copy link

Want to review this pull request? Take a look at this documentation for a step by step guide!


From your project repository, check out a new branch and test the changes.

git checkout -b santisecco-test-codeql-error gh-pages
git pull https://github.com/santisecco/website.git test-codeql-error

@@ -137,4 +137,13 @@
}
}


function testGetWins() {

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused function testGetWins.

function testGetWins() {
const fileName = "_wins-data.json";
const [sha, content] = getWins(fileName);

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable sha.
@santisecco santisecco marked this pull request as ready for review October 15, 2024 18:38
@santisecco santisecco closed this Oct 15, 2024
@santisecco santisecco reopened this Oct 15, 2024
@santisecco santisecco closed this Oct 15, 2024
@santisecco santisecco reopened this Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant