GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix DiffThunkRange access by cklin · Pull Request #2620 · github/codeql-action

Conversation

@cklin

@cklin cklin commented Nov 21, 2024

Copy link
Copy Markdown
Contributor

This PR fixes lingering array index access that I missed when I converted getPullRequestEditedDiffRanges() results from tuples to DiffThunkRange objects.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
github-advanced-security[bot]
github-advanced-security AI found potential problems Nov 21, 2024
View reviewed changes
Comment thread src/analyze.ts Fixed

Uh oh!

There was an error while loading. Please reload this page.

@cklin
Fix DiffThunkRange access
2eea97e
This commit fixes lingering array index access that I missed when I
converted getPullRequestEditedDiffRanges() results from tuples to
DiffThunkRange objects.
@cklin
cklin force-pushed the cklin/DiffThunkRange-fix branch from 8914b01 to 2eea97e Compare November 21, 2024 21:49
@cklin
cklin marked this pull request as ready for review November 21, 2024 22:05
@cklin
cklin requested a review from a team as a code owner November 21, 2024 22:05
angelapwen
angelapwen approved these changes Nov 22, 2024
View reviewed changes

@angelapwen angelapwen left a comment

Copy link
Copy Markdown
Contributor

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 for catching this! 🧹

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cklin
cklin merged commit af49565 into main Dec 2, 2024
@cklin
cklin deleted the cklin/DiffThunkRange-fix branch December 2, 2024 15:31
This was referenced Dec 3, 2024
Merge main into releases/v3 #2628
Merged
Merge releases/v3 into releases/v2 #2630
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@angelapwen angelapwen angelapwen approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@cklin @angelapwen @github-advanced-security
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.