From 12e8eaa9b6a8b240c27940a9acf90695c06833a6 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Wed, 31 May 2017 16:08:33 +0100 Subject: [PATCH] fix bug in doclines check --- services/document-updater/app/coffee/RedisManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/document-updater/app/coffee/RedisManager.coffee b/services/document-updater/app/coffee/RedisManager.coffee index 365156ebf6..935c569d94 100644 --- a/services/document-updater/app/coffee/RedisManager.coffee +++ b/services/document-updater/app/coffee/RedisManager.coffee @@ -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)