Skip to content
Snippets Groups Projects

fix panic in highlighting code from nil Operation

Merged Warren Gifford requested to merge cc/fix-highlight-panic into main

Created by: camdencheek

highlightOp was never initialized following https://github.com/sourcegraph/sourcegraph/pull/34456/files. I'm not sure if this is the best way to do this, but main is currently broken, so I'll leave it to others to clean it up if they have a better pattern for this.

Test plan

Tested locally that panic does not occur.

Merge request reports

Merged by avatar (Jul 13, 2025 5:28am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading