File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ $oldIssues = gh issue list --label "$Env:NO_RECENT_ACTIVITY_LABEL" --state open
3
3
foreach ($oldIssue in $oldIssues ) {
4
4
$lastComment = gh issue view $oldIssue.number -- json comments | ConvertFrom-Json | Select-Object - ExpandProperty comments | Where-Object {$_.author.login -eq $oldIssue.author.login } | Select-Object - Last 1
5
5
if ($null -eq $lastComment ) {
6
- $lastCommentDate = [datetime ]$null
6
+ $lastCommentDate = [Nullable [ datetime ] ]$null
7
7
} else {
8
8
$lastCommentDate = $lastComment.createdAt # powershell already parses the date for us with the json conversion
9
9
}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ $oldIssues = gh issue list --label "$Env:NEEDS_AUTHOR_FEEDBACK_LABEL" --state op
3
3
foreach ($oldIssue in $oldIssues ) {
4
4
$lastComment = gh issue view $oldIssue.number -- json comments | ConvertFrom-Json | Select-Object - ExpandProperty comments | Where-Object {$_.author.login -eq $oldIssue.author.login } | Select-Object - Last 1
5
5
if ($null -eq $lastComment ) {
6
- $lastCommentDate = [datetime ]$null
6
+ $lastCommentDate = [Nullable [ datetime ] ]$null
7
7
} else {
8
8
$lastCommentDate = $lastComment.createdAt # powershell already parses the date for us with the json conversion
9
9
}
You can’t perform that action at this time.
0 commit comments