devops(flakiness-dashboard): another fix to support empty metadata (#12430)
This commit is contained in:
Родитель
1a7a3bf99d
Коммит
33655ff168
|
@ -41,7 +41,7 @@ function compressReports(reports) {
|
|||
delete project.metadata.headful;
|
||||
if (project.metadata.mode === 'default')
|
||||
delete project.metadata.mode;
|
||||
if (project.metadata.platform.toLowerCase() !== 'android')
|
||||
if (project.metadata.platform && project.metadata.platform.toLowerCase() !== 'android')
|
||||
delete project.metadata.platform;
|
||||
projectNameToMetadata.set(project.name, project.metadata);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче