summary refs log tree commit diff
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/jira-CR.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/jira-CR.php b/.local/bin/jira-CR.php
index 7b62343..586f65b 100755
--- a/.local/bin/jira-CR.php
+++ b/.local/bin/jira-CR.php
@@ -80,7 +80,7 @@ $output = "";
 $has_pr = [];
 file_put_contents("/tmp/jira-CR.html", "");
 
-function process_pr($pr, $tickets) {
+function process_pr($pr, $tickets, $ticketLabels) {
     global $has_pr;
     $ansired = "\033[31m";
     $ansigreen = "\033[32m";
@@ -203,7 +203,7 @@ function process_pr($pr, $tickets) {
 }
 
 foreach ($prs_json as $pr) {
-    [$terminal, $html] = process_pr($pr, $tickets);
+    [$terminal, $html] = process_pr($pr, $tickets, $ticketLabels);
     if (!empty($terminal) && !empty($html)) {
         echo $terminal;
         file_put_contents("/tmp/jira-CR.html", $html, FILE_APPEND);