fix(github): Check release date for undefined value (#17106)

This commit is contained in:
Sergei Zharinov 2022-08-10 15:14:34 +03:00 committed by GitHub
parent 7492200014
commit f3531226e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -406,7 +406,7 @@ export abstract class AbstractGithubDatasourceCache<
updateDuration: DurationLikeObject,
cacheItems: Record<string, StoredItem>
): boolean {
if (!changelogRelease) {
if (!changelogRelease?.date) {
return false;
}