Просмотр исходного кода

Handle no splitTestVariants metadata

GitOrigin-RevId: c59262c51cffc92a38e40c1e3f08a92e5fa030b0
John Lees-Miller 4 лет назад
Родитель
Сommit
092ef7925c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/web/frontend/js/features/pdf-preview/util/output-files.js

+ 1 - 1
services/web/frontend/js/features/pdf-preview/util/output-files.js

@@ -83,7 +83,7 @@ export const handleLogFiles = async (outputFiles, data, signal) => {
         {
         {
           ignoreDuplicates: true,
           ignoreDuplicates: true,
           oldRegexes:
           oldRegexes:
-            getMeta('ol-splitTestVariants')['latex-log-parser'] !== 'new',
+            getMeta('ol-splitTestVariants')?.['latex-log-parser'] !== 'new',
         }
         }
       )
       )