Skip to content

Commit 2a993ea

Browse files
authored
Merge pull request #32 from alanhchoi/patch-1
fix ticketNumber displayed as ? in PR template
2 parents d4cfd87 + 263c70b commit 2a993ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function handlePrCreatePage() {
203203
if (titleMatch) {
204204
// Found a title, fetch some info from the ticket
205205
// Get the last one in the list.
206-
let ticketNumber = titleMatch[titleMatch.length - 1];
206+
ticketNumber = titleMatch[titleMatch.length - 1];
207207
ticketUrl = 'https://'+jiraUrl+'/browse/' + ticketNumber;
208208

209209
//Load up data from jira

0 commit comments

Comments
 (0)