diff options
| author | Zach DeCook <zach.decook@bettercarpeople.com> | 2026-06-26 08:49:31 -0400 |
|---|---|---|
| committer | Zach DeCook <zach.decook@bettercarpeople.com> | 2026-06-26 08:49:31 -0400 |
| commit | cb8647327d79a2ab45e00d9f7cac0bebc4f9afb0 (patch) | |
| tree | 3b8ab111858bcec7e8f152dfece69654e4026650 /.local/bin | |
| parent | a72093689622ca60d00a3a5aaf4cd8a6d53dd477 (diff) | |
| download | dotfiles-cb8647327d79a2ab45e00d9f7cac0bebc4f9afb0.tar.gz | |
jira-CR.php: fix showing ticketLabels
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/jira-CR.php | 4 |
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); |
