Skip to content

Commit

Permalink
Add another null chain
Browse files Browse the repository at this point in the history
  • Loading branch information
victorhuangwq committed Mar 26, 2024
1 parent 2f591c8 commit 564a617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tagPriorityLow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
}
// Try using the title, which includes [GitHub #123]
const match = workItem.fields['System.Title'].match(/\[GitHub #(\d+)\]/);
const match = workItem?.fields['System.Title']?.match(/\[GitHub #(\d+)\]/);
if (match) {
return match[1];
}
Expand Down

0 comments on commit 564a617

Please sign in to comment.