fix(core:dashboard): fix optional platform getIssue (#11066)

This commit is contained in:
Michael Kriese 2021-08-03 09:22:29 +02:00 committed by GitHub
parent b95173a699
commit 005e601e5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -318,7 +318,7 @@ export async function ensureDependencyDashboard(
}
if (config.dependencyDashboardIssue) {
const updatedIssue = await platform?.getIssue(
const updatedIssue = await platform.getIssue?.(
config.dependencyDashboardIssue,
false
);