mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
fix bug in doclines check
This commit is contained in:
@@ -115,7 +115,7 @@ module.exports = RedisManager =
|
||||
return callback(new Errors.NotFoundError("document not found"))
|
||||
|
||||
# doc is not in redis, bail out
|
||||
if !lines?
|
||||
if !docLines?
|
||||
return callback null, docLines, version, ranges
|
||||
|
||||
# doc should be in project set, check if missing (workaround for missing docs from putDoc)
|
||||
|
||||
Reference in New Issue
Block a user