[document-updater] delete dead code for handling JSON documents (#25036)

GitOrigin-RevId: 59a2c5f0174cd041ebda1ea4898114e6fb6d41a5
This commit is contained in:
Jakob Ackermann
2025-04-23 10:51:15 +01:00
committed by Copybot
parent 52898ac83b
commit dd3956f5f4
@@ -160,14 +160,6 @@ const DocumentManager = {
alreadyLoaded,
} = await DocumentManager.getDoc(projectId, docId)
if (oldLines != null && oldLines.length > 0 && oldLines[0].text != null) {
logger.debug(
{ docId, projectId, oldLines, newLines },
'document is JSON so not updating'
)
return
}
logger.debug(
{ docId, projectId, oldLines, newLines },
'setting a document via http'