From cc9034e268739968e91879a50cb768117600811a Mon Sep 17 00:00:00 2001 From: James Date: Sat, 17 Oct 2020 11:40:54 +0100 Subject: [PATCH] bugfix --- src/stale.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stale.php b/src/stale.php index 6551033..1588641 100755 --- a/src/stale.php +++ b/src/stale.php @@ -23,7 +23,7 @@ if (!$keepLabel = $repo->getLabelByName('keep')) { } //define the function to process each issue -$callback = function($issue) use ($staleLabel) { +$callback = function($issue) use ($staleLabel, $keepLabel) { $updatedTime=strtotime($issue->updated_at); $updateDaysAgo=(time()-$updatedTime)/60/60/24; echo "#{$issue->number} - $updateDaysAgo days ago - {$issue->title}\n";