mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #9021 from overleaf/bg-manual-decaff
manual decaff cleanup of __guard__ GitOrigin-RevId: 2e30b7fdbf03c79c22f7a99cef9462157bb4cf7e
This commit is contained in:
parent
8960e56e20
commit
0e6974d9e1
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue