mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: lock file maintenance (#62368)
See associated pull request for more information. PR Close #62368
This commit is contained in:
committed by
Jessica Janiuk
parent
493f25be79
commit
a4300a7b6b
@@ -27545,7 +27545,7 @@ function normalizePaginatedListResponse(response) {
|
||||
data: []
|
||||
};
|
||||
}
|
||||
const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data) || "total_commits" in response.data;
|
||||
const responseNeedsNormalization = ("total_count" in response.data || "total_commits" in response.data) && !("url" in response.data);
|
||||
if (!responseNeedsNormalization)
|
||||
return response;
|
||||
const incompleteResults = response.data.incomplete_results;
|
||||
|
||||
Reference in New Issue
Block a user