Skip to content

Commit

Permalink
updates column in issue refs
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Mar 21, 2023
1 parent 4f477a8 commit 30c5d87
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zebra-utils/src/bin/search-issue-refs/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ async fn main() -> Result<()> {
PossibleIssueRef {
file_path: file_path.clone(),
line_number: line_idx + 1,
column: potential_issue_ref.start() + 1,
column: captures
.get(1)
.expect("matches should have 2 captures")
.start()
+ 1,
id,
}
}))
Expand Down

0 comments on commit 30c5d87

Please sign in to comment.