bugfix
This commit is contained in:
parent
ca9933f729
commit
cc9034e268
@ -23,7 +23,7 @@ if (!$keepLabel = $repo->getLabelByName('keep')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//define the function to process each issue
|
//define the function to process each issue
|
||||||
$callback = function($issue) use ($staleLabel) {
|
$callback = function($issue) use ($staleLabel, $keepLabel) {
|
||||||
$updatedTime=strtotime($issue->updated_at);
|
$updatedTime=strtotime($issue->updated_at);
|
||||||
$updateDaysAgo=(time()-$updatedTime)/60/60/24;
|
$updateDaysAgo=(time()-$updatedTime)/60/60/24;
|
||||||
echo "#{$issue->number} - $updateDaysAgo days ago - {$issue->title}\n";
|
echo "#{$issue->number} - $updateDaysAgo days ago - {$issue->title}\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user