mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 10:10:08 +02:00
Using uuid for compilation logs (#6003)
GitOrigin-RevId: 96646870da597881a6e8b26564be4dee26385bb8
This commit is contained in:
@@ -2,6 +2,7 @@ import getMeta from '../../../utils/meta'
|
||||
import HumanReadableLogs from '../../../ide/human-readable-logs/HumanReadableLogs'
|
||||
import BibLogParser from '../../../ide/log-parser/bib-log-parser'
|
||||
import { buildFileList } from './file-list'
|
||||
import { v4 as uuid } from 'uuid'
|
||||
|
||||
const searchParams = new URLSearchParams(window.location.search)
|
||||
|
||||
@@ -68,7 +69,7 @@ export const handleOutputFiles = async (projectId, data) => {
|
||||
if (entry.file) {
|
||||
entry.file = normalizeFilePath(entry.file)
|
||||
}
|
||||
entry.key = `${entry.file}:${entry.line}:${entry.column}:${entry.message}`
|
||||
entry.key = uuid()
|
||||
}
|
||||
result.logEntries[key].push(...newEntries[key])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user