Factory: fix versioning (null pull_request hid open issues)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e66574b529
commit
dd3dd48969
3 files changed
+13
-1
No files matched your search
@@ -540,7 +540,7 @@ impl Forge {
|
||||
let a = v.as_array().cloned().unwrap_or_default();
|
||||
let n = a.len();
|
||||
for i in a {
|
||||
if i.get("pull_request").is_some() {
|
||||
if !i.get("pull_request").map_or(true, |p| p.is_null()) {
|
||||
continue;
|
||||
}
|
||||
out.push((i[key].as_i64().unwrap_or(0), i["title"].as_str().unwrap_or("").to_string()));
|
||||
|
||||
Reference in new issue
Block a user