mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #9021 from overleaf/bg-manual-decaff
manual decaff cleanup of __guard__ GitOrigin-RevId: 2e30b7fdbf03c79c22f7a99cef9462157bb4cf7e
This commit is contained in:
@@ -50,7 +50,7 @@ module.exports = UpdatesManager = {
|
||||
const op = rawUpdates[i]
|
||||
if (i > 0) {
|
||||
const thisVersion = op != null ? op.v : undefined
|
||||
const prevVersion = __guard__(rawUpdates[i - 1], x => x.v)
|
||||
const prevVersion = rawUpdates[i - 1]?.v
|
||||
if (!(prevVersion < thisVersion)) {
|
||||
logger.error(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user