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

Handle no splitTestVariants metadata

GitOrigin-RevId: c59262c51cffc92a38e40c1e3f08a92e5fa030b0
John Lees-Miller 4 лет назад
Родитель
Сommit
092ef7925c

+ 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,
           oldRegexes:
-            getMeta('ol-splitTestVariants')['latex-log-parser'] !== 'new',
+            getMeta('ol-splitTestVariants')?.['latex-log-parser'] !== 'new',
         }
       )